@Immutable public final class FileSystemCharStreamResolver extends Object implements IReaderResolver, IWriterResolver
| Constructor and Description |
|---|
FileSystemCharStreamResolver(File aBasePath,
Charset aCharset) |
FileSystemCharStreamResolver(String sBasePath,
Charset aCharset) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
File |
getBasePath() |
Charset |
getCharset() |
Reader |
getReader(String sName)
Get the reader from the given name.
|
Writer |
getWriter(String sName,
EAppend eAppend)
Get the writer from the given name.
|
int |
hashCode() |
String |
toString() |
public FileSystemCharStreamResolver(@Nonnull String sBasePath, @Nonnull Charset aCharset)
@Nullable public Reader getReader(@Nonnull String sName)
IReaderResolvergetReader in interface IReaderResolversName - The name to be resolved. May not be null.null if resolving failed.@Nullable public Writer getWriter(@Nonnull String sName, @Nonnull EAppend eAppend)
IWriterResolvergetWriter in interface IWriterResolversName - 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.