FileStream

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

public class FileStream extends Stream

lexchou द्वारा 16/06/2017 को बनाया गया।

कंस्ट्रक्टर

कंस्ट्रक्टरविवरण
FileStream(String fileName, int fileMode, int fileAccess)
FileStream(String fileName, int fileMode)
FileStream(File file, int fileMode, int fileAccess)

फ़ील्ड्स

फ़ील्डविवरण
APPEND
CREATE
OPEN
READ
READ_WRITE
SEEK_CURRENT
SEEK_END
SEEK_SET
WRITE

विधियाँ

विधिविवरण
close()
copyTo(Stream output)
equals(Object arg0)
flush()
getClass()
getInputStream()
getLength()
getOutputStream()
hashCode()
notify()
notifyAll()
read(byte[] buf)
read(byte[] buf, int start, int len)
read(ByteSpan bytes)
readByte()
seek(long offset, int seek)
setLength(long len)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)
wrap(InputStream stream)
wrap(OutputStream stream)एक OutputStream को Stream के रूप में रैप करें, डेटा को आउटपुट स्ट्रीम में फ्लश करने के लिए स्ट्रीम को बंद करना आवश्यक है।
write(byte[] buf)
write(byte[] buf, int start, int len)
write(ByteSpan bytes)
writeByte(int b)

FileStream(String fileName, int fileMode, int fileAccess)

public FileStream(String fileName, int fileMode, int fileAccess)

Parameters:

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

FileStream(String fileName, int fileMode)

public FileStream(String fileName, int fileMode)

Parameters:

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

FileStream(File file, int fileMode, int fileAccess)

public FileStream(File file, int fileMode, int fileAccess)

Parameters:

पैरामीटरप्रकारविवरण
filejava.io.File
fileModeint
fileAccessint

APPEND

public static final int APPEND

CREATE

public static final int CREATE

OPEN

public static final int OPEN

READ

public static final int READ

READ_WRITE

public static final int READ_WRITE

SEEK_CURRENT

public static final int SEEK_CURRENT

SEEK_END

public static final int SEEK_END

SEEK_SET

public static final int SEEK_SET

WRITE

public static final int WRITE

close()

public void close()

copyTo(Stream output)

public void copyTo(Stream output)

Parameters:

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

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

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

Returns: boolean

flush()

public void flush()

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getInputStream()

public InputStream getInputStream()

Returns: java.io.InputStream

getLength()

public long getLength()

Returns: long

getOutputStream()

public OutputStream getOutputStream()

Returns: java.io.OutputStream

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

read(byte[] buf)

public int read(byte[] buf)

Parameters:

पैरामीटरप्रकारविवरण
bufbyte[]

Returns: int

read(byte[] buf, int start, int len)

public int read(byte[] buf, int start, int len)

Parameters:

पैरामीटरप्रकारविवरण
bufbyte[]
शुरूint
lenint

Returns: int

read(ByteSpan bytes)

public int read(ByteSpan bytes)

Parameters:

पैरामीटरप्रकारविवरण
bytescom.aspose.threed.ByteSpan

Returns: int

readByte()

public int readByte()

Returns: int

seek(long offset, int seek)

public long seek(long offset, int seek)

Parameters:

पैरामीटरप्रकारविवरण
ऑफ़सेटlong
seekint

Returns: long

setLength(long len)

public void setLength(long len)

Parameters:

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

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

wrap(InputStream stream)

public static Stream wrap(InputStream stream)

Parameters:

पैरामीटरप्रकारविवरण
स्ट्रीमjava.io.InputStream

Returns: Stream

wrap(OutputStream stream)

public static Stream wrap(OutputStream stream)

एक OutputStream को Stream के रूप में रैप करें, डेटा को आउटपुट स्ट्रीम में फ्लश करने के लिए स्ट्रीम को बंद करना आवश्यक है।

Parameters:

पैरामीटरप्रकारविवरण
स्ट्रीमjava.io.OutputStreamरैप करने के लिए आउटपुट स्ट्रीम

Returns: Stream - wrapped Stream instance

write(byte[] buf)

public void write(byte[] buf)

Parameters:

पैरामीटरप्रकारविवरण
bufbyte[]

write(byte[] buf, int start, int len)

public void write(byte[] buf, int start, int len)

Parameters:

पैरामीटरप्रकारविवरण
bufbyte[]
शुरूint
lenint

write(ByteSpan bytes)

public void write(ByteSpan bytes)

Parameters:

पैरामीटरप्रकारविवरण
bytescom.aspose.threed.ByteSpan

writeByte(int b)

public void writeByte(int b)

Parameters:

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