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()
73 public InputStream getAsStream() { in getAsStream() method in ImapTempFileLiteral90 byte[] bytes = IOUtils.toByteArray(getAsStream()); in getString()
49 @Override public InputStream getAsStream() {92 public abstract InputStream getAsStream(); in getAsStream() method in ImapString
46 public InputStream getAsStream() { in getAsStream() method in ImapSimpleString
63 public InputStream getAsStream() { in getAsStream() method in ImapMemoryLiteral
51 public InputStream getAsStream() {93 public abstract InputStream getAsStream(); in getAsStream() method in ImapString
69 public InputStream getAsStream() { in getAsStream() method in ImapTempFileLiteral86 byte[] bytes = IOUtils.toByteArray(getAsStream()); in getString()
45 public InputStream getAsStream() { in getAsStream() method in ImapSimpleString
65 public InputStream getAsStream() { in getAsStream() method in ImapMemoryLiteral
76 public InputStream getAsStream() { in getAsStream() method in ImapTempFileLiteral93 byte[] bytes = IOUtils.toByteArray(getAsStream()); in getString()
371 InputStream bodyStream = body.getAsStream(); in fetchInternal()379 InputStream bodyStream = fetchList.getKeyedStringOrEmpty("BODY[", true).getAsStream(); in fetchInternal()
748 InputStream bodyStream = body.getAsStream(); in fetchInternal()753 fetchList.getKeyedStringOrEmpty("BODY[", true).getAsStream(); in fetchInternal()