@Immutable public class PathRelativeIO extends Object implements IPathRelativeIO
IPathRelativeIO.| Constructor and Description |
|---|
PathRelativeIO(String sBasePath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getBasePath() |
String |
getBaseURL() |
IReadableResource |
getResource(String sRelativePath)
Get the file system resource relative to the base path.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetInputStream, getReader@Nonnull @Nonempty public String getBasePath()
getBasePath in interface IPathRelativeIOnull.@Nonnull public IReadableResource getResource(@Nonnull @Nonempty String sRelativePath)
IPathRelativeIOgetResource in interface IPathRelativeIOsRelativePath - the relative pathIReadableResource and never
null.Copyright © 2014–2020 Philip Helger. All rights reserved.