| Package | Description |
|---|---|
| com.avaje.ebeaninternal.server.lib.resource |
Service for reading content from either the file system or servlet context.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileResourceContent
Content from a file system file.
|
class |
UrlResourceContent
Content from a URL Resource.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceContent |
UrlResourceSource.getContent(String entry)
Search for the given URL resource and return as ResourceContent.
|
ResourceContent |
FileResourceSource.getContent(String entry)
Search for the given file and return as IoContent.
|
ResourceContent |
ResourceSource.getContent(String entry)
Find the content with a given entry name.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
AbstractResourceSource.readBytes(ResourceContent content,
int bufSize)
Helper method to read byte[] content.
|
byte[] |
ResourceSource.readBytes(ResourceContent content,
int bufSize)
Return the content as a byte[].
|
String |
AbstractResourceSource.readString(ResourceContent content,
int bufSize)
Helper method to read String content.
|
String |
ResourceSource.readString(ResourceContent content,
int bufSize)
Return the content as a String.
|
Copyright © 2014. All Rights Reserved.