Class DataCache.DocumentData

  • Enclosing class:
    DataCache

    protected static class DataCache.DocumentData
    extends java.lang.Object
    This class represents everything we need to know about a document that's getting passed from the getDocumentVersions() phase to the processDocuments() phase.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String contentType
      The content-type header value
      protected java.io.File data
      The cache file for the data
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentData​(java.io.File data, java.lang.String contentType)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContentType()
      Get the contentType
      java.io.File getData()
      Get the data
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • data

        protected java.io.File data
        The cache file for the data
      • contentType

        protected java.lang.String contentType
        The content-type header value
    • Constructor Detail

      • DocumentData

        public DocumentData​(java.io.File data,
                            java.lang.String contentType)
        Constructor.
    • Method Detail

      • getData

        public java.io.File getData()
        Get the data
      • getContentType

        public java.lang.String getContentType()
        Get the contentType