|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.FileSystemArchive
public class FileSystemArchive
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
FileSystemArchive(InstancePointer p)
This constructor is public for internal useage only! |
protected |
FileSystemArchive(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
FileSystemArchive(java.lang.String name,
java.lang.String archType)
|
|
FileSystemArchive(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
delete()
Deletes the corresponding C++ object. |
boolean |
exists(java.lang.String filename)
Find out if the named file exists (note: fully qualified filename required) |
void |
finalize()
|
void |
find(IStringVectorPtr returnValue,
java.lang.String pattern,
boolean recursive,
boolean dirs)
Find all file or directory names matching a given pattern in this archive. |
void |
findFileInfo(IFileInfoListPtr returnValue,
java.lang.String pattern,
boolean recursive,
boolean dirs)
Find all files or directories matching a given pattern in this archive and get some detailed information about them. |
static boolean |
getIgnoreHidden()
|
long |
getModifiedTime(java.lang.String filename)
Retrieve the modification time of a given file |
static boolean |
getms_IgnoreHidden()
|
java.lang.String |
getName()
|
java.lang.String |
getType()
|
boolean |
isCaseSensitive()
|
void |
list(IStringVectorPtr returnValue,
boolean recursive,
boolean dirs)
List all file names in the archive. |
void |
listFileInfo(IFileInfoListPtr returnValue,
boolean recursive,
boolean dirs)
List all files in the archive with accompanying information. |
void |
load()
Loads the archive. |
void |
open(IDataStreamPtr returnValue,
java.lang.String filename)
Open a stream on a given file. |
static void |
setIgnoreHidden(boolean ignore)
Set whether filesystem enumeration will include hidden files or not. |
static void |
setms_IgnoreHidden(boolean _jni_value_)
|
void |
unload()
Unloads the archive. |
| Methods inherited from class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Constructor Detail |
|---|
public FileSystemArchive(InstancePointer p)
protected FileSystemArchive(InstancePointer p,
boolean remote)
public FileSystemArchive(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()
public FileSystemArchive(java.lang.String name,
java.lang.String archType)
| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObjectpublic boolean isCaseSensitive()
isCaseSensitive in interface IArchiveisCaseSensitive in interface IFileSystemArchivepublic void load()
IArchive
load in interface IArchiveload in interface IFileSystemArchivepublic void unload()
IArchive
unload in interface IArchiveunload in interface IFileSystemArchive
public void open(IDataStreamPtr returnValue,
java.lang.String filename)
IArchive
open in interface IArchiveopen in interface IFileSystemArchive
public void list(IStringVectorPtr returnValue,
boolean recursive,
boolean dirs)
IArchive
list in interface IArchivelist in interface IFileSystemArchive
public void listFileInfo(IFileInfoListPtr returnValue,
boolean recursive,
boolean dirs)
IArchive
listFileInfo in interface IArchivelistFileInfo in interface IFileSystemArchive
public void find(IStringVectorPtr returnValue,
java.lang.String pattern,
boolean recursive,
boolean dirs)
IArchive
find in interface IArchivefind in interface IFileSystemArchive
public void findFileInfo(IFileInfoListPtr returnValue,
java.lang.String pattern,
boolean recursive,
boolean dirs)
IArchive
findFileInfo in interface IArchivefindFileInfo in interface IFileSystemArchivepublic boolean exists(java.lang.String filename)
IArchive
exists in interface IArchiveexists in interface IFileSystemArchivepublic long getModifiedTime(java.lang.String filename)
IArchive
getModifiedTime in interface IArchivegetModifiedTime in interface IFileSystemArchivepublic static void setIgnoreHidden(boolean ignore)
public static boolean getIgnoreHidden()
public java.lang.String getName()
getName in interface IArchivepublic java.lang.String getType()
getType in interface IArchivepublic static boolean getms_IgnoreHidden()
public static void setms_IgnoreHidden(boolean _jni_value_)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||