@Test public void testToCharacter() throws Exception { Assert.assertEquals((Character) '1', InputStreamTransforms.TRANSFORMER.toCharacter(newInputStream("12345"))); }
@Transformer public Character toCharacter(InputStream inStream) { return toString(inStream).charAt(0); }
InputStreamTransforms { @Transformer public Character toCharacter(InputStream inStream) { return toString(inStream).charAt(0); } }
InputStreamTransforms { @Transformer public Character toCharacter(InputStream inStream) { return toString(inStream).charAt(0); }  }
InputStreamTransforms { @Transformer public Character toCharacter(InputStream inStream) { return toString(inStream).charAt(0); }  @Transformer String toString(InputStream inStream); @Transformer Reader toReader(InputStream inStream); @Transformer InputSource toInputSource(InputStream inStream); @Transformer Integer toInteger(InputStream inStream); @Transformer Long toLong(InputStream inStream); @Transformer Short toShort(InputStream inStream); @Transformer char[] toChars(InputStream inStream); @Transformer Character toCharacter(InputStream inStream); @Transformer byte[] toBytes(InputStream inStream); @Transformer Double toDouble(InputStream inStream); @Transformer Float toFloat(InputStream inStream); }
InputStreamTransforms { @Transformer public Character toCharacter(InputStream inStream) { return toString(inStream).charAt(0); }  @Transformer String toString(InputStream inStream); @Transformer Reader toReader(InputStream inStream); @Transformer InputSource toInputSource(InputStream inStream); @Transformer Integer toInteger(InputStream inStream); @Transformer Long toLong(InputStream inStream); @Transformer Short toShort(InputStream inStream); @Transformer char[] toChars(InputStream inStream); @Transformer Character toCharacter(InputStream inStream); @Transformer byte[] toBytes(InputStream inStream); @Transformer Double toDouble(InputStream inStream); @Transformer Float toFloat(InputStream inStream); static final InputStreamTransforms TRANSFORMER; }