public interface IPathRelativeIO extends Serializable
IMutableFileRelativeIO.| 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 |
com.helger.commons.io.resource.IReadableResource |
getResource(String sRelativePath)
Get the file system resource relative to the base path
|
@Nonnull @Nonempty String getBasePath()
null.@Nonnull com.helger.commons.io.resource.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–2017 Philip Helger. All rights reserved.