de.intarsys.tools.file
Class MagicFileNumberTest.Type
java.lang.Object
de.intarsys.tools.file.MagicFileNumberTest.Type
- Enclosing class:
- MagicFileNumberTest
public static class MagicFileNumberTest.Type
- extends Object
MagicFileNumberTest.Type
public MagicFileNumberTest.Type(String suffix,
byte[] magic)
getKey
public String getKey()
getMagicBytes
public byte[] getMagicBytes()
getSuffix
public String getSuffix()
matches
public boolean matches(IRandomAccess data)
throws IOException
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.