public class StreamProviderFileImpl extends Object implements StreamProvider
| Modifier and Type | Method and Description |
|---|---|
File |
getFile() |
InputStream |
input(String pattern)
Get a custom stream, specifying a pattern.
|
OutputStream |
output(String pattern)
Get a custom stream, specifying a pattern.
|
public InputStream input(String pattern) throws IOException
StreamProviderinput in interface StreamProviderpattern - a naming pattern for the new streamIOException - if creating the stream failedpublic OutputStream output(String pattern) throws IOException
StreamProvideroutput in interface StreamProviderpattern - a naming pattern for the new streamIOException - if creating the stream failedpublic File getFile()
getFile in interface StreamProviderCopyright © 2012–2020. All rights reserved.