C# Класс Files.FAR1.FAR1Archive

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ContainsEntry ( string Filename ) : bool

Does this archive contain the specified entry?

Dispose ( ) : void
FAR1Archive ( string Path ) : System
GrabAllEntries ( ) : List

Returns all entries.

GrabEntries ( List Entries ) : List

Returns the given entries as a List of Stream instances. Throws a FAR3Exception if an entry wasn't found.

GrabEntry ( string Filename ) : Stream

Returns an entry in this archive as a Stream instance. Throws a FAR3Exception if entry was not found.

ReadArchive ( bool ThrowException ) : void

Reads all entries in the archive into memory.

Защищенные методы

Метод Описание
Dispose ( bool CleanupNativeAndManagedResources ) : void

Описание методов

ContainsEntry() публичный Метод

Does this archive contain the specified entry?
public ContainsEntry ( string Filename ) : bool
Filename string
Результат bool

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool CleanupNativeAndManagedResources ) : void
CleanupNativeAndManagedResources bool
Результат void

FAR1Archive() публичный Метод

public FAR1Archive ( string Path ) : System
Path string
Результат System

GrabAllEntries() публичный Метод

Returns all entries.
public GrabAllEntries ( ) : List
Результат List

GrabEntries() публичный Метод

Returns the given entries as a List of Stream instances. Throws a FAR3Exception if an entry wasn't found.
public GrabEntries ( List Entries ) : List
Entries List A List of UniqueFileID of entries to grab.
Результат List

GrabEntry() публичный Метод

Returns an entry in this archive as a Stream instance. Throws a FAR3Exception if entry was not found.
public GrabEntry ( string Filename ) : Stream
Filename string
Результат Stream

ReadArchive() публичный Метод

Reads all entries in the archive into memory.
public ReadArchive ( bool ThrowException ) : void
ThrowException bool Wether or not to throw an exception if the archive was not a FAR. If false, function will return.
Результат void