com.bentofw.util
Class CheckPdfStrict
java.lang.Object
com.bentofw.util.CheckPdfStrict
- All Implemented Interfaces:
- BinaryChecker
public class CheckPdfStrict
- extends java.lang.Object
- implements BinaryChecker
One of the implementation of BinaryChecker. Check if
the given binary contents matches PDF file or not.
This class depends on iText
Java library.
To use this class, please download it from:
It is the FREE Java library for PDF.
- Since:
- 1.5
- Author:
- Jun Inamori
- See Also:
|
Method Summary |
boolean |
checkBinary(byte[] bin)
Returns true if the binary contents can be considered
to match the PDF file. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckPdfStrict
public CheckPdfStrict()
- Constructor.
checkBinary
public boolean checkBinary(byte[] bin)
- Returns true if the binary contents can be considered
to match the PDF file. Otherwise, false.
- Specified by:
checkBinary in interface BinaryChecker
- Parameters:
bin - The binary contents
- Returns:
- true if the binary contents can be considered
to match the PDF file. Otherwise, false.
ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.