FileFormatInfo

Inheritance: java.lang.Object

public class FileFormatInfo

Contains data returned by FileFormatUtil file format detection methods.

Constructors

ConstructorDescription
FileFormatInfo()

Methods

MethodDescription
equals(Object arg0)
getClass()
getFileFormatType()Gets the detected file format.
getLoadFormat()Gets the detected load format.
hashCode()
isEncrypted()Returns true if the document is encrypted and requires a password to open.
isProtectedByRMS()Gets whether the file is protected by Microsoft Rights Management Server.
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

FileFormatInfo()

public FileFormatInfo()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFileFormatType()

public int getFileFormatType()

Gets the detected file format.

See FileFormatType.

Returns: int

getLoadFormat()

public int getLoadFormat()

Gets the detected load format.

See LoadFormat.

Returns: int

hashCode()

public native int hashCode()

Returns: int

isEncrypted()

public boolean isEncrypted()

Returns true if the document is encrypted and requires a password to open.

Returns: boolean

isProtectedByRMS()

public boolean isProtectedByRMS()

Gets whether the file is protected by Microsoft Rights Management Server.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int