Class ComHelper
Namespace: Aspose.Zip
Assembly: Aspose.Zip.dll (25.1.0)
COM 클라이언트가 Aspose.Zip에 아카이브를 로드할 수 있는 메서드를 제공합니다.
public class ComHelper
상속
상속된 멤버
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
비고
ComHelper 클래스를 사용하여 파일 또는 스트림에서 아카이브를 로드합니다.
특정 클래스는 새 아카이브를 생성하기 위한 기본 생성자를 제공하며,
파일 또는 스트림에서 아카이브를 로드하기 위한 오버로드된 생성자도 제공합니다.
.NET 애플리케이션에서 Aspose.Zip를 사용하는 경우 모든 아카이브 생성자를 직접 사용할 수 있지만,
COM 애플리케이션에서 Aspose.Zip를 사용하는 경우 기본 아카이브 생성자만 사용할 수 있습니다.
생성자
ComHelper()
이 클래스의 새 인스턴스를 초기화합니다.
public ComHelper()
메서드
OpenBzip2(Stream)
COM 애플리케이션이 스트림에서 bzip2 아카이브를 로드할 수 있도록 합니다.
public Bzip2Archive OpenBzip2(Stream stream)
매개변수
stream
Stream
로드할 아카이브를 포함하는 .NET 스트림 객체입니다.
반환값
아카이브를 나타내는 Aspose.Zip.Bzip2.Bzip2Archive 객체입니다.
OpenBzip2(string)
COM 애플리케이션이 파일에서 bzip2 아카이브를 로드할 수 있도록 합니다.
public Bzip2Archive OpenBzip2(string fileName)
매개변수
fileName
string
로드할 아카이브의 파일 이름입니다.
반환값
아카이브를 나타내는 Aspose.Zip.Bzip2.Bzip2Archive 객체입니다.
OpenGzip(Stream)
COM 애플리케이션이 스트림에서 gzip 아카이브를 로드할 수 있도록 합니다.
public GzipArchive OpenGzip(Stream stream)
매개변수
stream
Stream
로드할 아카이브를 포함하는 .NET 스트림 객체입니다.
반환값
아카이브를 나타내는 Aspose.Zip.Gzip.GzipArchive 객체입니다.
OpenGzip(string)
COM 애플리케이션이 파일에서 gzip 아카이브를 로드할 수 있도록 합니다.
public GzipArchive OpenGzip(string fileName)
매개변수
fileName
string
로드할 아카이브의 파일 이름입니다.
반환값
아카이브를 나타내는 Aspose.Zip.Gzip.GzipArchive 객체입니다.
OpenRar(Stream)
COM 애플리케이션이 스트림에서 rar 아카이브를 로드할 수 있도록 합니다.
public RarArchive OpenRar(Stream stream)
매개변수
stream
Stream
로드할 아카이브를 포함하는 .NET 스트림 객체입니다.
반환값
아카이브를 나타내는 Aspose.Zip.Rar.RarArchive 객체입니다.
OpenRar(string)
COM 애플리케이션이 파일에서 rar 아카이브를 로드할 수 있도록 합니다.
public RarArchive OpenRar(string fileName)
매개변수
fileName
string
로드할 아카이브의 파일 이름입니다.
반환값
아카이브를 나타내는 Aspose.Zip.Rar.RarArchive 객체입니다.
OpenZip(Stream)
COM 애플리케이션이 스트림에서 zip 아카이브를 로드할 수 있도록 합니다.
public Archive OpenZip(Stream stream)
매개변수
stream
Stream
로드할 아카이브를 포함하는 .NET 스트림 객체입니다.
반환값
아카이브를 나타내는 Aspose.Zip.Archive 객체입니다.
OpenZip(string)
COM 애플리케이션이 파일에서 zip 아카이브를 로드할 수 있도록 합니다.
public Archive OpenZip(string fileName)
매개변수
fileName
string
로드할 아카이브의 파일 이름입니다.
반환값
아카이브를 나타내는 Aspose.Zip.Archive 객체입니다.