AliasedDirectoryResource
, ByteArrayResource
, DirectoryResource
, JarResource
, PrefixJarResource
, ShrinkWrapResource
public interface Resource
Modifier and Type | Method | Description |
---|---|---|
Stream<String> |
getAllLocations() |
|
URL |
getResource(String location) |
Get the resource.
|
InputStream |
getResourceAsStream(String location) |
Get the resource as a stream.
|
URL getResource(String location)
location
- the location.InputStream getResourceAsStream(String location)
location
- the location.Copyright © 2020 Piranha Cloud. All rights reserved.