org.modeshape.jcr.text
Class TextExtractorContext
java.lang.Object
org.modeshape.jcr.text.TextExtractorContext
- All Implemented Interfaces:
- TextExtractor.Context
public final class TextExtractorContext
- extends Object
- implements TextExtractor.Context
A context for extracting the content.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextExtractorContext
public TextExtractorContext(MimeTypeDetector detector)
mimeTypeOf
public String mimeTypeOf(String name,
Binary binaryValue)
throws RepositoryException,
IOException
- Specified by:
mimeTypeOf
in interface TextExtractor.Context
- Throws:
RepositoryException
IOException
Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.