TrueUpdate Core 0.3

net.java.trueupdate.core.io
Interface Store

All Superinterfaces:
Sink, Source
All Known Implementing Classes:
FileStore

public interface Store
extends Source, Sink

An abstraction for reading, writing and deleting binary data.

Author:
Christian Schlichtherle (copied and edited from TrueLicense Core 2.3.1)

Field Summary
static int BUFSIZE
          A reasonable buffer size, which is 8192.
 
Method Summary
 void delete()
          Deletes the binary data.
 boolean exists()
          Returns true if and only if the binary data exists.
 
Methods inherited from interface net.java.trueupdate.core.io.Source
input
 
Methods inherited from interface net.java.trueupdate.core.io.Sink
output
 

Field Detail

BUFSIZE

static final int BUFSIZE
A reasonable buffer size, which is 8192.

See Also:
Constant Field Values
Method Detail

delete

void delete()
            throws IOException
Deletes the binary data.

Throws:
IOException

exists

boolean exists()
Returns true if and only if the binary data exists.


TrueUpdate Core 0.3

Copyright © 2013 Schlichtherle IT Services. All rights reserved.