wt.fv.uploadtocache
Class FileUploadStream
java.lang.Object
java.io.InputStream
wt.fv.uploadtocache.FileUploadStream
- public class FileUploadStream
- extends InputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUFF_SIZE
private static final int BUFF_SIZE
- See Also:
- Constant Field Values
wt_tmp
private static String wt_tmp
is
private InputStream is
isSize
private long isSize
uploadFileContext
private UploadFileContext uploadFileContext
FileUploadStream
private FileUploadStream(InputStream a_is,
long a_isSize,
UploadFileContext a_UploadFileContext)
newFileUploadStream
public static FileUploadStream newFileUploadStream(InputStream is,
long isSize)
upload
public void upload(ObjectOutputStream oos)
throws WTException,
IOException
- Throws:
WTException
IOException
storeStream
public static void storeStream(ContentHolder holder,
ApplicationData appData,
ObjectInputStream ois)
throws WTException,
IOException,
ClassNotFoundException
- Throws:
WTException
IOException
ClassNotFoundException
read
public int read()
throws IOException
- Throws:
IOException
getInputStream
private InputStream getInputStream()
moveStream
public static void moveStream(InputStream from,
OutputStream to)
throws IOException
- Throws:
IOException