public interface IPathRelativeIO
| Modifier and Type | Method and Description |
|---|---|
String |
getBasePath() |
default InputStream |
getInputStream(String sRelativePath)
Get the
InputStream relative to the base path |
default Reader |
getReader(String sRelativePath,
Charset aCharset)
Get the
Reader relative to the base path |
IReadableResource |
getResource(String sRelativePath)
Get the file system resource relative to the base path.
|
@Nonnull @Nonempty String getBasePath()
null.@Nonnull IReadableResource getResource(@Nonnull String sRelativePath)
sRelativePath - the relative pathIReadableResource and never
null.@Nullable default InputStream getInputStream(@Nonnull String sRelativePath)
InputStream relative to the base pathsRelativePath - the relative pathnull if the path does not existCopyright © 2014–2022 Philip Helger. All rights reserved.