public interface IResourceInstantiator
ResourceLoader| Modifier and Type | Interface and Description |
|---|---|
static class |
IResourceInstantiator.ResourceInstantiationException
An Exception that is thrown by a ResourceInstantiator if too much instantiations have failed.
|
| Modifier and Type | Method and Description |
|---|---|
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.io.InputStream a_inputStream,
java.lang.String a_resourceName)
Optional: may not be supported by all resource instantiators.
|
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.
|
java.lang.Object getInstance(java.io.File a_file,
java.io.File a_topDirectory)
throws java.lang.Exception
a_file - a Filea_topDirectory - the top directory of this file; this is generally not needed to load
the filejava.lang.Exception - if an error occursjava.lang.Object getInstance(java.util.zip.ZipEntry a_entry,
java.util.zip.ZipFile a_file)
throws java.lang.Exception
a_entry - a ZipEntrya_file - the ZipFile of this zip entryjava.lang.Exception - if an error occursjava.lang.Object getInstance(java.io.InputStream a_inputStream,
java.lang.String a_resourceName)
throws java.lang.Exception
a_inputStream - java.lang.ExceptionCopyright © 2023. All rights reserved.