Package com.jalios.io.mimetype
Class MagicString
- java.lang.Object
-
- com.jalios.io.mimetype.MagicString
-
public class MagicString extends java.lang.ObjectLicence concern : This method is based upon Aperture MagicMimeTypeIdentifier. The code was modified at the margin to be compatible with JRE 1.4.2. Given the licence of Aperture : Open Software Licence (OSL), this modified code of Aperture classes are held at the disposal on demand at support@jalios.com Concerned classes :UtfUtilMagicNumberMagicMimeTypeIdentifierMagicStringMagicNumber- Since:
- JCMS-5.7.3
-
-
Constructor Summary
Constructors Constructor Description MagicString(char[] magicChars)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char[]getMagicChars()intgetMinimumLength()booleanmatches(char[] chars, int skippedLeadingChars)
-