Class Overview
Created by dszuksztul on 20/03/14.
Summary
Nested Classes |
class |
FileUtil.StreamSizeMismatchException |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
File
createTempFile
(InputStream stream, String filenamePrefix)
Creates temp file frm given stream
Parameters
stream
| stream to copy data from |
Returns
- temp file created from stream contents
public
File
createTempFileFromBoundedStream
(InputStream stream, long size, String filenamePrefix)
Creates temp file frm given stream with expecteation that this stream will have given siae.
Parameters
stream
| stream to copy data from |
size
| expected number of bytes from stream |
Returns
- temp file created from stream contents