de.schlichtherle.truezip.fs
Class FsCachingController.EntryCache.ProxyOutputSocket
java.lang.Object
de.schlichtherle.truezip.socket.IOSocket<E,Entry>
de.schlichtherle.truezip.socket.OutputSocket<E>
de.schlichtherle.truezip.socket.DecoratingOutputSocket<Entry>
de.schlichtherle.truezip.fs.FsCachingController.EntryCache.ProxyOutputSocket
- Enclosing class:
- FsCachingController.EntryCache
private class FsCachingController.EntryCache.ProxyOutputSocket
- extends DecoratingOutputSocket<Entry>
An output socket proxy.
FsCachingController.EntryCache.ProxyOutputSocket
FsCachingController.EntryCache.ProxyOutputSocket(OutputSocket<?> output)
newOutputStream
public OutputStream newOutputStream()
throws IOException
- Description copied from class:
OutputSocket
- Returns a new output stream for writing bytes to the
local target.
Implementations must enable calling this method any number of times.
Furthermore, the returned output stream should not be buffered.
Buffering should be addressed by the caller instead - see
IOSocket.copy(de.schlichtherle.truezip.socket.InputSocket>, de.schlichtherle.truezip.socket.OutputSocket>).
- Overrides:
newOutputStream in class DecoratingOutputSocket<Entry>
- Returns:
- A new output stream.
- Throws:
FileNotFoundException - if the local target is not accessible
for some reason.
IOException - on any other exceptional condition.
makeEntry
void makeEntry()
throws IOException
- Ensure the existence of an entry in the file system.
- Throws:
IOException
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.