Package org.apache.tika.parser.image
Class PSDParser
- java.lang.Object
-
- org.apache.tika.parser.AbstractParser
-
- org.apache.tika.parser.image.PSDParser
-
- All Implemented Interfaces:
Serializable,org.apache.tika.parser.Parser
public class PSDParser extends org.apache.tika.parser.AbstractParserParser for the Adobe Photoshop PSD File Format. Documentation on the file format is available from http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/PhotoshopFileFormats.htmAn MIT-licensed python parser with test files is: https://github.com/psd-tools/psd-tools
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PSDParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxDataLengthBytes()Set<org.apache.tika.mime.MediaType>getSupportedTypes(org.apache.tika.parser.ParseContext context)voidparse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context)voidsetMaxDataLengthBytes(int maxDataLengthBytes)
-
-
-
Method Detail
-
getSupportedTypes
public Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)
-
parse
public void parse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context) throws IOException, SAXException, org.apache.tika.exception.TikaException
- Throws:
IOExceptionSAXExceptionorg.apache.tika.exception.TikaException
-
setMaxDataLengthBytes
@Field public void setMaxDataLengthBytes(int maxDataLengthBytes)
-
getMaxDataLengthBytes
public int getMaxDataLengthBytes()
-
-