FileFormatInfo

Inheritance: java.lang.Object

public class FileFormatInfo

Contains data returned by FileFormatUtil file format detection methods.


The following example shows how to detect File Formats of Email Message.

[Java]

FileFormatInfo info = FileFormatUtil.detectFileFormat("message.msg");
 System.out.println("The message format is: " + info.getFileFormatType());

Methods

MethodDescription
equals(Object arg0)
getClass()
getFileFormatType()Gets file format type.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

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 final int getFileFormatType()

Gets file format type.

Returns: int

hashCode()

public native int hashCode()

Returns: int

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