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