@Immutable public class FileSystemByteStreamResolver extends Object implements IInputStreamResolver, IOutputStreamResolver
| Constructor and Description |
|---|
FileSystemByteStreamResolver(File aBasePath) |
FileSystemByteStreamResolver(String sBasePath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
File |
getBasePath() |
InputStream |
getInputStream(String sName)
Get the input stream from the given name.
|
OutputStream |
getOutputStream(String sName,
EAppend eAppend)
Get the output stream from the given name.
|
int |
hashCode() |
String |
toString() |
@Nullable public InputStream getInputStream(@Nonnull String sName)
IInputStreamResolvergetInputStream in interface IInputStreamResolversName - The name to be resolved. May not be null.null if resolving failed.@Nullable public OutputStream getOutputStream(@Nonnull String sName, @Nonnull EAppend eAppend)
IOutputStreamResolvergetOutputStream in interface IOutputStreamResolversName - The name to be resolved. May not be null.eAppend - Appending mode. May not be null.null if resolving failed.Copyright © 2006–2015 phloc systems. All rights reserved.