FileFormatUtil
Contents
[
Hide
]Inheritance: java.lang.Object
public class FileFormatUtil
Provides utility methods for converting file format enums to strings or file extensions and back.
Constructors
Constructor | Description |
---|---|
FileFormatUtil() |
Methods
Method | Description |
---|---|
detectFileFormat(InputStream stream) | Detects and returns the information about a format of a visio stored in a stream. |
detectFileFormat(String filePath) | Detects and returns the information about a format of a visio stored in a file. |
equals(Object arg0) | |
getClass() | |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
FileFormatUtil()
public FileFormatUtil()
detectFileFormat(InputStream stream)
public static FileFormatInfo detectFileFormat(InputStream stream)
Detects and returns the information about a format of a visio stored in a stream.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | The stream |
Returns: FileFormatInfo - A FileFormatInfo object that contains the detected information.
detectFileFormat(String filePath)
public static FileFormatInfo detectFileFormat(String filePath)
Detects and returns the information about a format of a visio stored in a file.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | The file path. |
Returns: FileFormatInfo - A FileFormatInfo object that contains the detected information.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |