|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.Archive
public class Archive
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
Archive(InstancePointer p)
This constructor is public for internal useage only! |
protected |
Archive(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
Archive(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. |
long |
getModifiedTime(java.lang.String filename)
Retrieve the modification time of a given file |
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. |
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 Archive(InstancePointer p)
protected Archive(InstancePointer p,
boolean remote)
public Archive(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()| 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 java.lang.String getName()
getName in interface IArchivepublic boolean isCaseSensitive()
isCaseSensitive in interface IArchivepublic void load()
load in interface IArchivepublic void unload()
unload in interface IArchive
public void open(IDataStreamPtr returnValue,
java.lang.String filename)
open in interface IArchive
public void list(IStringVectorPtr returnValue,
boolean recursive,
boolean dirs)
list in interface IArchive
public void listFileInfo(IFileInfoListPtr returnValue,
boolean recursive,
boolean dirs)
listFileInfo in interface IArchive
public void find(IStringVectorPtr returnValue,
java.lang.String pattern,
boolean recursive,
boolean dirs)
find in interface IArchivepublic boolean exists(java.lang.String filename)
exists in interface IArchivepublic long getModifiedTime(java.lang.String filename)
getModifiedTime in interface IArchive
public void findFileInfo(IFileInfoListPtr returnValue,
java.lang.String pattern,
boolean recursive,
boolean dirs)
findFileInfo in interface IArchivepublic java.lang.String getType()
getType in interface IArchive
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||