|
|||||||||
| Home >> All >> com >> imagero >> [ res overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.imagero.res
Interface Resource

- public interface Resource
Resource.
Anything can be embedded direct in Java class and read with proper ResourceReader.
For example complete JPEG or GIF file can be embedded as into Resource.
Pro - no more troubles with ClassLoader#getResource ClassLoader#getResourceAsStream.
| Method Summary | |
byte[] |
getData()
get raw data as byte array |
java.lang.String |
getType()
get resource type |
| Method Detail |
getData
public byte[] getData()
- get raw data as byte array
getType
public java.lang.String getType()
- get resource type
|
|||||||||
| Home >> All >> com >> imagero >> [ res overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC