public interface ClasspathResource
ClasspathResource contained in some archive thereof included in a classpath.| Modifier and Type | Method and Description |
|---|---|
File |
file()
Returns the resource as a file
|
String |
name()
Returns the name of the resource.
|
String |
path()
Returns the path of the resource, relatively to the containing archive.
|
InputStream |
stream()
Returns the resource as a stream.
|
String name()
String path()
InputStream stream() throws Exception
Exception - if the stream cannot be returnedCopyright © 2017. All Rights Reserved.