public abstract class IMAPByteSource
extends java.lang.Object
implements java.io.Closeable
Constructor and Description |
---|
IMAPByteSource() |
Modifier and Type | Method and Description |
---|---|
abstract void |
close() |
int |
size() |
abstract com.google.common.io.ByteSource |
source() |
static IMAPByteSource |
wrap(byte[] simple) |
static IMAPByteSource |
wrap(com.google.common.io.ByteSource simple) |
static IMAPByteSource |
wrap(FileBackedOutputStream fbos) |
static IMAPByteSource |
wrap(FileBackedOutputStream fbos,
int size) |
public abstract com.google.common.io.ByteSource source()
public abstract void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
public int size()
public static IMAPByteSource wrap(FileBackedOutputStream fbos)
public static IMAPByteSource wrap(FileBackedOutputStream fbos, int size)
public static IMAPByteSource wrap(com.google.common.io.ByteSource simple)
public static IMAPByteSource wrap(byte[] simple)
Copyright © 2021. All Rights Reserved.