FileSystemStreamSource

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

public class FileSystemStreamSource extends StreamSource

Rappresenta una sorgente di flusso basata sul file system.

Costruttori

CostruttoreDescrizione
FileSystemStreamSource(String fileName)Inizializza un nuovo FileSystemStreamSource oggetto.

Metodi

MetodoDescrizione
deepClone()Clona l’oggetto FileSystemStreamSource.
equals(Object arg0)
getClass()
getFileName()Ottiene il nome del file.
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()
setFileName(String value)Imposta il nome del file.
setOffset(long value)Imposta l’offset all’interno della sorgente.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

FileSystemStreamSource(String fileName)

public FileSystemStreamSource(String fileName)

Inizializza un nuovo FileSystemStreamSource oggetto.

Parameters:

ParametroTipoDescrizione
fileNamejava.lang.StringNome file.

deepClone()

public Object deepClone()

Clona l’oggetto FileSystemStreamSource.

Returns: java.lang.Object - Copia dell’oggetto FileSystemStreamSource.

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

getFileName()

public String getFileName()

Ottiene il nome del file.

Returns: java.lang.String - Nome del file.

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()

setFileName(String value)

public void setFileName(String value)

Imposta il nome del file.

Parameters:

ParametroTipoDescrizione
valorejava.lang.StringNome file.

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