org.ogre4j
Interface IFileSystemArchive

All Superinterfaces:
IAllocatedObject<IGeneralAllocPolicy>, IArchive, IGeneralAllocatedObject, INativeObject
All Known Implementing Classes:
FileSystemArchive

public interface IFileSystemArchive
extends INativeObject, IArchive


Method Summary
 boolean exists(java.lang.String filename)
          Find out if the named file exists (note: fully qualified filename required)
 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
 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 interface org.ogre4j.IArchive
getName, getType
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

isCaseSensitive

boolean isCaseSensitive()
Specified by:
isCaseSensitive in interface IArchive

load

void load()
Description copied from interface: IArchive
Loads the archive.

Specified by:
load in interface IArchive

unload

void unload()
Description copied from interface: IArchive
Unloads the archive.

Specified by:
unload in interface IArchive

open

void open(IDataStreamPtr returnValue,
          java.lang.String filename)
Description copied from interface: IArchive
Open a stream on a given file.

Specified by:
open in interface IArchive

list

void list(IStringVectorPtr returnValue,
          boolean recursive,
          boolean dirs)
Description copied from interface: IArchive
List all file names in the archive.

Specified by:
list in interface IArchive

listFileInfo

void listFileInfo(IFileInfoListPtr returnValue,
                  boolean recursive,
                  boolean dirs)
Description copied from interface: IArchive
List all files in the archive with accompanying information.

Specified by:
listFileInfo in interface IArchive

find

void find(IStringVectorPtr returnValue,
          java.lang.String pattern,
          boolean recursive,
          boolean dirs)
Description copied from interface: IArchive
Find all file or directory names matching a given pattern in this archive.

Specified by:
find in interface IArchive

findFileInfo

void findFileInfo(IFileInfoListPtr returnValue,
                  java.lang.String pattern,
                  boolean recursive,
                  boolean dirs)
Description copied from interface: IArchive
Find all files or directories matching a given pattern in this archive and get some detailed information about them.

Specified by:
findFileInfo in interface IArchive

exists

boolean exists(java.lang.String filename)
Description copied from interface: IArchive
Find out if the named file exists (note: fully qualified filename required)

Specified by:
exists in interface IArchive

getModifiedTime

long getModifiedTime(java.lang.String filename)
Description copied from interface: IArchive
Retrieve the modification time of a given file

Specified by:
getModifiedTime in interface IArchive


Copyright © 2007 netAllied GmbH. All Rights Reserved.