|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanon.util.ResourceLoader.ByteArrayInstantiator
private final class ResourceLoader.ByteArrayInstantiator
This class is used to get resources as byte arrays.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface anon.util.IResourceInstantiator |
|---|
IResourceInstantiator.ResourceInstantiationException |
| Constructor Summary | |
|---|---|
private |
ResourceLoader.ByteArrayInstantiator()
|
| Method Summary | |
|---|---|
java.lang.Object |
getInstance(java.io.File a_file,
java.io.File a_topDirectory)
Loads a file and transforms it into a concrete object. |
java.lang.Object |
getInstance(java.util.zip.ZipEntry a_entry,
java.util.zip.ZipFile a_file)
Loads a file and transforms it into a concrete object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private ResourceLoader.ByteArrayInstantiator()
| Method Detail |
|---|
public java.lang.Object getInstance(java.io.File a_file,
java.io.File a_topDirectory)
throws java.lang.Exception
IResourceInstantiator
getInstance in interface IResourceInstantiatora_file - a Filea_topDirectory - the top directory of this file; this is generally not needed to load
the file
IResourceInstantiator.ResourceInstantiationException - if an error occurs
java.lang.Exception
public java.lang.Object getInstance(java.util.zip.ZipEntry a_entry,
java.util.zip.ZipFile a_file)
throws java.lang.Exception
IResourceInstantiator
getInstance in interface IResourceInstantiatora_entry - a ZipEntrya_file - the ZipFile of this zip entry
IResourceInstantiator.ResourceInstantiationException - if an error occurs
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||