ModeShape Distribution 3.5.0.Final

org.modeshape.jcr.text
Class TextExtractorContext

java.lang.Object
  extended by 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.


Constructor Summary
TextExtractorContext(MimeTypeDetector detector)
           
 
Method Summary
 String mimeTypeOf(String name, Binary binaryValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextExtractorContext

public TextExtractorContext(MimeTypeDetector detector)
Method Detail

mimeTypeOf

public String mimeTypeOf(String name,
                         Binary binaryValue)
                  throws RepositoryException,
                         IOException
Specified by:
mimeTypeOf in interface TextExtractor.Context
Throws:
RepositoryException
IOException

ModeShape Distribution 3.5.0.Final

Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.