LocalFileSystem
अंतर्वस्तु
[
छिपाना
]Inheritance: java.lang.Object, com.aspose.threed.FileSystem
public class LocalFileSystem extends FileSystem
The LocalFileSystem स्थानीय निर्देशिका के लिए पढ़ने/लिखने के संचालन को मैप करेगा। 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 LocalFileSystem("textures/"));
//load the file
var scene = Scene.fromFile(inputFile, opt);
कंस्ट्रक्टर
| कंस्ट्रक्टर | विवरण |
|---|---|
| LocalFileSystem(String directory) | निर्दिष्ट बेस डायरेक्टरी के साथ नया LocalFileSystem प्रारंभ करें। |
विधियाँ
| विधि | विवरण |
|---|---|
| close() | फ़ाइल सिस्टम को नष्ट करें और उसके संसाधनों को मुक्त करें। |
| 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) | निर्भरताओं को लिखने के लिए एक स्ट्रीम बनाएं। |
LocalFileSystem(String directory)
public LocalFileSystem(String directory)
निर्दिष्ट बेस डायरेक्टरी के साथ नया LocalFileSystem प्रारंभ करें।
Parameters:
| पैरामीटर | प्रकार | विवरण |
|---|---|---|
| डायरेक्टरी | java.lang.String |
close()
public void close()
फ़ाइल सिस्टम को नष्ट करें और उसके संसाधनों को मुक्त करें।
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| पैरामीटर | प्रकार | विवरण |
|---|---|---|
| arg0 | java.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:
| पैरामीटर | प्रकार | विवरण |
|---|---|---|
| fileName | java.lang.String | |
| options | IOConfig |
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:
| पैरामीटर | प्रकार | विवरण |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| पैरामीटर | प्रकार | विवरण |
|---|---|---|
| arg0 | long | |
| arg1 | int |
writeFile(String fileName, IOConfig options)
public Stream writeFile(String fileName, IOConfig options)
निर्भरताओं को लिखने के लिए एक स्ट्रीम बनाएं।
Parameters:
| पैरामीटर | प्रकार | विवरण |
|---|---|---|
| fileName | java.lang.String | |
| options | IOConfig |
Returns: com.aspose.csporter.helpers.Stream