com.jalios.io.mimetype
Class MagicString
java.lang.Object
  
com.jalios.io.mimetype.MagicString
public class MagicString
- extends Object
 
Licence 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 :
        UtfUtil
  MagicNumber
  MagicMimeTypeIdentifier
  MagicString
  MagicNumber
- Since:
 
  - JCMS-5.7.3
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MagicString
public MagicString(char[] magicChars)
getMagicChars
public char[] getMagicChars()
 
getMinimumLength
public int getMinimumLength()
 
matches
public boolean matches(char[] chars,
                       int skippedLeadingChars)
 
Copyright © 2001-2007 Jalios SA. All Rights Reserved.