ByteContentStreamSource

Inheritance: java.lang.Object, com.aspose.font.StreamSource

public class ByteContentStreamSource extends StreamSource

Rappresenta una sorgente di flusso basata sullo stream _content.

Costruttori

CostruttoreDescrizione
ByteContentStreamSource(byte[] fileContent)Inizializza un nuovo oggetto ByteContentStreamSource .

Metodi

MetodoDescrizione
deepClone()Clona l’oggetto ByteContentStreamSource.
equals(Object arg0)
getClass()
getFontStream()Restituisce lo stream del file Font.
getOffset()Ottiene l’offset all’interno della sorgente.
hashCode()
mustCloseAfterUse()Gli eredi possono impedire la chiusura del stream.
notify()
notifyAll()
setOffset(long value)Imposta l’offset all’interno della sorgente.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ByteContentStreamSource(byte[] fileContent)

public ByteContentStreamSource(byte[] fileContent)

Inizializza un nuovo oggetto ByteContentStreamSource .

Parameters:

ParametroTipoDescrizione
fileContentbyte[]Byte del file.

deepClone()

public Object deepClone()

Clona l’oggetto ByteContentStreamSource.

Returns: java.lang.Object

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParametroTipoDescrizione
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFontStream()

public InputStream getFontStream()

Restituisce lo stream del file Font. Non dimenticare di chiudere lo stream dopo l’uso.

Returns: java.io.InputStream - stream del file Font.

getOffset()

public long getOffset()

Ottiene l’offset all’interno della sorgente.

Returns: long - Offset all’interno della sorgente.

hashCode()

public native int hashCode()

Returns: int

mustCloseAfterUse()

public boolean mustCloseAfterUse()

Gli eredi possono impedire la chiusura del stream. Restituisce true se la sorgente di stream desidera che il stream venga chiuso dopo l’uso. Altrimenti restituisce false.

Returns: boolean - True se la sorgente di stream desidera che il stream venga chiuso dopo l’uso, altrimenti false.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setOffset(long value)

public void setOffset(long value)

Imposta l’offset all’interno della sorgente.

Parameters:

ParametroTipoDescrizione
valorelongOffset all’interno della sorgente.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParametroTipoDescrizione
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParametroTipoDescrizione
arg0long
arg1int