private final class ResourceLoader.ByteArrayInstantiator extends java.lang.Object implements IResourceInstantiator
IResourceInstantiator.ResourceInstantiationException| Modifier | Constructor and Description |
|---|---|
private |
ByteArrayInstantiator() |
| 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.
|
public java.lang.Object getInstance(java.io.File a_file,
java.io.File a_topDirectory)
throws java.io.IOException
IResourceInstantiatorgetInstance in interface IResourceInstantiatora_file - a Filea_topDirectory - the top directory of this file; this is generally not needed to load
the filejava.io.IOExceptionpublic java.lang.Object getInstance(java.util.zip.ZipEntry a_entry,
java.util.zip.ZipFile a_file)
throws java.io.IOException
IResourceInstantiatorgetInstance in interface IResourceInstantiatora_entry - a ZipEntrya_file - the ZipFile of this zip entryjava.io.IOExceptionpublic java.lang.Object getInstance(java.io.InputStream a_inputStream,
java.lang.String a_resourceName)
throws java.io.IOException
IResourceInstantiatorgetInstance in interface IResourceInstantiatorjava.io.IOExceptionCopyright © 2023. All rights reserved.