public abstract class PathSource extends Object
| Constructor and Description |
|---|
PathSource(Path basePath,
Path source) |
| Modifier and Type | Method and Description |
|---|---|
Path |
getBasePath() |
abstract InputStream |
getInputStream() |
String |
getRelativePath()
Gets the relative file path, instead of the absolute.
|
Path |
getSource() |
void |
setBasePath(Path path) |
void |
setSource(Path source) |
public Path getBasePath()
public void setBasePath(Path path)
public Path getSource()
public void setSource(Path source)
public String getRelativePath()
public abstract InputStream getInputStream() throws IOException
IOExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.