public abstract class OutputStreamProvider extends Object implements Closeable
OutputStream
s.Constructor and Description |
---|
OutputStreamProvider() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getCurrentPath()
Returns the path about the current stream.
|
long |
getDesiredStreamSize()
Returns the desired each stream size.
|
abstract void |
next()
Advances the current stream to the next one.
|
abstract CountingOutputStream |
openStream()
Returns the current stream.
|
public long getDesiredStreamSize()
next()
stream instead current one.0
to unlimited (default: 0)IllegalArgumentException
- if some parameters were null
public abstract void next() throws IOException
current
stream should be closed by the client.IOException
- if failed to obtain next streampublic abstract String getCurrentPath()
IllegalStateException
- if the current stream is not preparedpublic abstract CountingOutputStream openStream() throws IOException
IOException
- if failed to obtain the current streamIllegalStateException
- if the current stream is not preparedCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.