ZipArchiveFileSystem

Inheritance: java.lang.Object, com.aspose.threed.FileSystem

public class ZipArchiveFileSystem extends FileSystem

फ़ाइल सिस्टम जो निर्दिष्ट ज़िप फ़ाइल या ज़िप स्ट्रीम तक केवल-पढ़ने योग्य पहुँच प्रदान करता है। फ़ाइल सिस्टम को खुलने/सहेजने के ऑपरेशन के बाद नष्ट कर दिया जाएगा। Example: निम्नलिखित कोड दिखाता है कि फ़ाइल को कैसे आयात करें, और ज़िप आर्काइव फ़ाइल में निर्भर फ़ाइलें प्रदान करें।

var inputFile = "input.fbx";
     var format = FileFormat.detect(inputFile);
     //create a load options instance and specify a zip file system
     var opt = format.createLoadOptions();
     opt.setFileSystem(new ZipArchiveFileSystem("textures.zip"));
     //load the file
     var scene = Scene.fromFile(inputFile, opt);

कंस्ट्रक्टर

कंस्ट्रक्टरविवरण
ZipArchiveFileSystem(Stream stream, String baseDir)एक स्ट्रीम के माध्यम से ZipArchiveFileSystem बनाएं।
ZipArchiveFileSystem(Stream stream)एक स्ट्रीम के माध्यम से ZipArchiveFileSystem बनाएं।
ZipArchiveFileSystem(String fileName)फ़ाइल नाम के माध्यम से ZipArchiveFileSystem बनाएं।

विधियाँ

विधिविवरण
close()ZipArchiveFileSystem को नष्ट करें और उसकी आंतरिक संसाधनों को मुक्त करें।
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
readFile(String fileName, IOConfig options)फ़ाइल को पढ़ने के लिए खोलें
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)
writeFile(String fileName, IOConfig options)फ़ाइल को लिखने के लिए खोलें, इस वर्ग में लागू नहीं है।

ZipArchiveFileSystem(Stream stream, String baseDir)

public ZipArchiveFileSystem(Stream stream, String baseDir)

एक स्ट्रीम के माध्यम से ZipArchiveFileSystem बनाएं।

Parameters:

पैरामीटरप्रकारविवरण
स्ट्रीमcom.aspose.csporter.helpers.Stream
baseDirjava.lang.String

ZipArchiveFileSystem(Stream stream)

public ZipArchiveFileSystem(Stream stream)

एक स्ट्रीम के माध्यम से ZipArchiveFileSystem बनाएं।

Parameters:

पैरामीटरप्रकारविवरण
स्ट्रीमcom.aspose.csporter.helpers.Stream

ZipArchiveFileSystem(String fileName)

public ZipArchiveFileSystem(String fileName)

फ़ाइल नाम के माध्यम से ZipArchiveFileSystem बनाएं।

Parameters:

पैरामीटरप्रकारविवरण
fileNamejava.lang.String

close()

public void close()

ZipArchiveFileSystem को नष्ट करें और उसकी आंतरिक संसाधनों को मुक्त करें।

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

पैरामीटरप्रकारविवरण
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

readFile(String fileName, IOConfig options)

public Stream readFile(String fileName, IOConfig options)

फ़ाइल को पढ़ने के लिए खोलें

Parameters:

पैरामीटरप्रकारविवरण
fileNamejava.lang.String
optionsIOConfig

Returns: com.aspose.csporter.helpers.Stream

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

पैरामीटरप्रकारविवरण
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

पैरामीटरप्रकारविवरण
arg0long
arg1int

writeFile(String fileName, IOConfig options)

public Stream writeFile(String fileName, IOConfig options)

फ़ाइल को लिखने के लिए खोलें, इस वर्ग में लागू नहीं है।

Parameters:

पैरामीटरप्रकारविवरण
fileNamejava.lang.String
optionsIOConfig

Returns: com.aspose.csporter.helpers.Stream