« rar_wrapper_cache_stats
RarArchive::close »

RarArchive クラス

(PECL rar >= 2.0.0)

はじめに

このクラスは RAR アーカイブをあらわします。これは複数のパーツで構成されることもあり、 中に RAR エントリ (ファイルやディレクトリ、そしてシンボリックリンクなどの特殊なオブジェクト) を含みます。

このクラスのオブジェクトの中身を走査したり、RAR アーカイブに格納されているエントリを取り出したりすることができます。 このエントリは、RarArchive::getEntry() や RarArchive::getEntries() を使って取得することもできます。

クラス概要

final class RarArchive implements Traversable {
/* メソッド */
public function close(): bool
public function getComment(): string
public function getEntries(): array|false
public function getEntry(string $entryname): RarEntry|false
public function isBroken(): bool
public function isSolid(): bool
public static function open(string $filename, string $password = NULL, callable $volume_callback = NULL): RarArchive|false
public function setAllowBroken(bool $allow_broken): bool
public function __toString(): string
}

目次

関連キーワード:
RarArchive   getEntry   getEntries   getComment   isBroken   isSolid   setAllowBroken   toString   wrapper   cache   stats   パーツ   構成   走査   final   implements   Traversable   entryname   RarEntry   static   filename   password   callable   volume   callback
関連する関数・ページ:
rararchive.tostring   rararchive.getentry   rararchive.getentries   rararchive.isbroken   rararchive.setallowbroken   rararchive.getcomment