@Test public void testToInputStream() throws Exception { Assert.assertNotNull(ReaderTransforms.TRANSFORMER.toInputStream(newReader("Hello SwitchYard"))); }
@Transformer public InputStream toInputStream(Reader reader) { return new ByteArrayInputStream(toString(reader).getBytes()); }
ReaderTransforms { @Transformer public InputStream toInputStream(Reader reader) { return new ByteArrayInputStream(toString(reader).getBytes()); } }
ReaderTransforms { @Transformer public InputStream toInputStream(Reader reader) { return new ByteArrayInputStream(toString(reader).getBytes()); }  }
ReaderTransforms { @Transformer public InputStream toInputStream(Reader reader) { return new ByteArrayInputStream(toString(reader).getBytes()); }  @Transformer String toString(Reader reader); @Transformer InputStream toInputStream(Reader reader); @Transformer InputSource toInputSource(Reader reader); @Transformer Integer toInteger(Reader reader); @Transformer Long toLong(Reader reader); @Transformer Short toShort(Reader reader); @Transformer char[] toChars(Reader reader); @Transformer Character toCharacter(Reader reader); @Transformer byte[] toBytes(Reader reader); @Transformer Double toDouble(Reader reader); @Transformer Float toFloat(Reader reader); }
ReaderTransforms { @Transformer public InputStream toInputStream(Reader reader) { return new ByteArrayInputStream(toString(reader).getBytes()); }  @Transformer String toString(Reader reader); @Transformer InputStream toInputStream(Reader reader); @Transformer InputSource toInputSource(Reader reader); @Transformer Integer toInteger(Reader reader); @Transformer Long toLong(Reader reader); @Transformer Short toShort(Reader reader); @Transformer char[] toChars(Reader reader); @Transformer Character toCharacter(Reader reader); @Transformer byte[] toBytes(Reader reader); @Transformer Double toDouble(Reader reader); @Transformer Float toFloat(Reader reader); static final ReaderTransforms TRANSFORMER; }