My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Formats  
Formats identified by wazformat.
Updated Oct 30, 2009 by dvd.s...@gmail.com

StreamDetectorImpl

A fast implementation of the interface Detector. It only reads the beginning (few Kilobytes) of a stream and try to determine the format.

It can be configured specifying a configuration file. An example can be found in: io-tools/wazformat/src/main/java/com/gc/iotools/fmt/detect/wzf/deflen.properties.

The formats that it can detect are in the table below:

Enum nameDescriptionSupported versions
BASE64Base 64 Encoded Data
GIFGraphics Interchange Format Image87a, 89a
M7MInfocamere PKCS 7 digital signature document + timestamp.
PKCS7PKCS 7 Digital Signature
PDFAdobe PDF (Portable Document Format)1.6,1.5,1.4 - Generic
PEMPEM (Privacy Enhanced Mail) Signed File
RTFRich Text Format
XMLExtensible Markup Language
ZIPPkzip Archive

DroidDetectorImpl

These formats are supported by DroidDetectorImpl. This detector is based on http://droid.sourceforge.net/wiki/index.php/Introduction droid format detection library (mantained by UK National Archives).

Implementation isn't fast and requires a full read of the stream before the identification can begin. The number of supported format is great, but low performances might be an issue with large files.

Enum nameDescriptionSupported versions
ADVANCED_SYSTEMS_FORMATAdvanced Systems Format
AVIAudio/Video Interleaved Format
DWGAutoCAD Drawing1.0, 1.2, 1.3, 1.4, 2.0, 2.1, 2.2, 2.5, 2.6, R9,

R10, R11/12, R13, R14, 2000-2002, 2004-2005
BINARY_INTERCHANGE_FILE_FORMAT_BIFF_WORKBOOKBinary Interchange File Format (BIFF) Workbook4W, 5, 7, 8, 8X
BINARY_INTERCHANGE_FILE_FORMAT_BIFF_WORKSHEETBinary Interchange File Format (BIFF) Worksheet2, 3, 4S
BROADCAST_WAVEBroadcast WAVE1, 0
CATPARTCATIA Model (Part Description)5
CLASSJava Compiled Object Code
DROID_FILE_COLLECTION_FILE_FORMATDROID File Collection File Format1.0
DROID_SIGNATURE_FILE_FORMATDROID Signature File Format1.0
DXBDrawing Interchange Binary Format1.0
DRAWING_INTERCHANGE_FILE_FORMAT_ASCIIDrawing Interchange File Format (ASCII)1.0, 1.2, 1.3, 1.4, 2.0, 2.1, 2.2, 2.5, 2.6, R9, R10,

R11/12, R13, R14, 2000-2002, 2004-2005, Generic
DRAWING_INTERCHANGE_FILE_FORMAT_BINARYDrawing Interchange File Format (Binary)R10, R11/12, R13, R14, 2000-2002, 2004-2005
EPSFEncapsulated PostScript File Format1.2, 3.0, 2.0
EXCHANGEABLE_IMAGE_FILE_FORMAT_AUDIOExchangeable Image File Format (Audio)2.1, 2.2, 2.0
EXCHANGEABLE_IMAGE_FILE_FORMAT_COMPRESSEDExchangeable Image File Format (Compressed)2.1, 2.2, 2.0
EXCHANGEABLE_IMAGE_FILE_FORMAT_UNCOMPRESSEDExchangeable Image File Format (Uncompressed)2.2, 2.1, 2.0
XHTMLExtensible Hypertext Markup Language1.0, 1.1
XMLExtensible Markup Language1.0
FITSFlexible Image Transport System
GZGZIP Format
GIFGraphics Interchange Format1987a, 1989a
HTMLHypertext Markup Language2.0, 3.2, 4.0, 4.01
JPEGJPEG File Interchange Format1.00, 1.01, 1.02
JARJava Archive Format
MDBMicrosoft Access Database2000
MSGMicrosoft Outlook Email Message97-2003
MPEG_1_VIDEO_FORMATMPEG-1 Video Format
MPEG_2_VIDEO_FORMATMPEG-2 Video Format
MS_DOS_EXECUTABLEMS-DOS Executable
FLVMacromedia FLV1
SWFMacromedia Flash1, 2, 3, 4, 5, 6, 7
PPTMicrosoft Powerpoint Presentation4.0, 95, 97-2002
DOCMicrosoft Word for Windows Document6.0/95, 97-2003, 1.0, 2.0
OLE2_COMPOUND_DOCUMENT_FORMATOLE2 Compound Document Format
ODBOpenDocument Database Format1.0
ODGOpenDocument Drawing Format1.0
OPENDOCUMENT_FORMATOpenDocument Format1.0
ODPOpenDocument Presentation Format1.0
ODSOpenDocument Spreadsheet Format1.0
ODTOpenDocument Text Format1.0
SXCOpenOffice Calc1.0
SXDOpenOffice Draw1.0
SXIOpenOffice Impress1.0
SXWOpenOffice Writer1.0
PCXPCX0, 2, 3, 4, 5
PDFAdobe Portable Document Format (Actually broken)1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
PNGPortable Network Graphics1.0, 1.1, 1.2
POSTSCRIPTPostScript1.0, 2.0, 2.1, 3.0
QTMQuicktime
RAW_JPEG_STREAMRaw JPEG Stream
RAMRealAudio Metafile
RTFRich Text Format1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8
SVGScalable Vector Graphics1.0, 1.1
STILL_PICTURE_INTERCHANGE_FILE_FORMATStill Picture Interchange File Format1.0
TAGGED_IMAGE_FILE_FORMATTagged Image File Format3, 4, 5, 6
WRLVirtual Reality Modeling Language1.0, 97
WAVEFORM_AUDIOWaveform Audio
BMPWindows Bitmap1.0, 2.0, 3.0, 3.0 NT, 4.0, 5.0
WINDOWS_MEDIA_AUDIOWindows Media Audio
WINDOWS_MEDIA_VIDEOWindows Media Video
WINDOWS_NEW_EXECUTABLEWindows New Executable
WINDOWS_PORTABLE_EXECUTABLEWindows Portable Executable
WPGWordPerfect Graphics Metafile1.0
WORDPERFECT_FOR_MS_DOS_DOCUMENTWordPerfect for MS-DOS Document5.0
WORDPERFECT_FOR_MS_DOS_WINDOWS_DOCUMENTWordPerfect for MS-DOS/Windows Document5.1
ZIPPKZIP Archive Format


Sign in to add a comment
Powered by Google Project Hosting