Searched refs:getAsStream (Results 1 – 12 of 12) sorted by relevance
49 assertEquals("", Utility.fromAscii(IOUtils.toByteArray(ImapString.EMPTY.getAsStream()))); in testEmpty()65 assertEquals("AbcD", Utility.fromAscii(IOUtils.toByteArray(s.getAsStream()))); in testBasics()147 assertEquals(content, Utility.fromAscii(IOUtils.toByteArray(s.getAsStream()))); in doLiteralTest()
49 @Override public InputStream getAsStream() {92 public abstract InputStream getAsStream(); in getAsStream() method in ImapString
73 public InputStream getAsStream() { in getAsStream() method in ImapTempFileLiteral90 byte[] bytes = IOUtils.toByteArray(getAsStream()); in getString()
46 public InputStream getAsStream() { in getAsStream() method in ImapSimpleString
63 public InputStream getAsStream() { in getAsStream() method in ImapMemoryLiteral
48 @Override public InputStream getAsStream() {91 public abstract InputStream getAsStream(); in getAsStream() method in ImapString
48 public InputStream getAsStream() { in getAsStream() method in ImapSimpleString
69 public InputStream getAsStream() { in getAsStream() method in ImapMemoryLiteral
76 public InputStream getAsStream() { in getAsStream() method in ImapTempFileLiteral93 byte[] bytes = IOUtils.toByteArray(getAsStream()); in getString()
393 InputStream bodyStream = body.getAsStream(); in fetchInternal()398 fetchList.getKeyedStringOrEmpty("BODY[", true).getAsStream(); in fetchInternal()
748 InputStream bodyStream = body.getAsStream(); in fetchInternal()753 fetchList.getKeyedStringOrEmpty("BODY[", true).getAsStream(); in fetchInternal()