|
OOP MimeParser Version 3.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BinaryChecker
Given the binary contents, check if the file is the
specific mime-type or not.
There is no guarantee that the
implementation of this interface can always return
the correct result.
Some implementation will check only the first few bytes.
Even if the first few bytes matche the patterns for the
specific mime-type, there may be a case that the rest of
the contents are invalid.
MagicMime,
| Method Summary | |
|---|---|
boolean |
checkBinary(byte[] bin)
Returns true if the binary contents can be considered to match the specific mime-type. |
| Method Detail |
|---|
boolean checkBinary(byte[] bin)
bin - The binary contents
|
OOP MimeParser Version 3.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.