public class Resource extends Object
| Constructor and Description |
|---|
Resource(File file,
String relativePath) |
Resource(Path path,
String relativePath,
int line) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsString() |
String |
getFileNameWithoutExtension() |
int |
getLine() |
String |
getPackageQualifiedName() |
Path |
getPath() |
String |
getRelativePath() |
InputStream |
getStream() |
String |
toString() |
public static final Resource EMPTY
public String getFileNameWithoutExtension()
public String getRelativePath()
public String getPackageQualifiedName()
public Path getPath()
public int getLine()
public InputStream getStream()
public String getAsString()
Copyright © 2019. All rights reserved.