|
TrueUpdate Core 0.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.trueupdate.core.io.FileStore
public final class FileStore
A file store.
| Field Summary |
|---|
| Fields inherited from interface net.java.trueupdate.core.io.Store |
|---|
BUFSIZE |
| Constructor Summary | |
|---|---|
FileStore(File file)
|
|
| Method Summary | |
|---|---|
void |
delete()
Deletes the binary data. |
boolean |
exists()
Returns true if and only if the binary data exists. |
InputStream |
input()
Returns a new input stream for reading the binary data from this source. |
OutputStream |
output()
Returns a new output stream for writing the binary data to this sink. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileStore(File file)
| Method Detail |
|---|
public void delete()
throws IOException
Store
delete in interface StoreIOExceptionpublic boolean exists()
Storetrue if and only if the binary data exists.
exists in interface Store
public InputStream input()
throws IOException
Source
input in interface SourceIOException
public OutputStream output()
throws IOException
Sink
output in interface SinkIOException
|
TrueUpdate Core 0.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||