com.github.dreamhead.moco.resource
Class ContentResource

java.lang.Object
  extended by com.github.dreamhead.moco.resource.Resource
      extended by com.github.dreamhead.moco.resource.ContentResource
All Implemented Interfaces:
ConfigApplier<Resource>, Content, Identifiable, ResourceReader

public class ContentResource
extends Resource
implements Content


Field Summary
 
Fields inherited from class com.github.dreamhead.moco.resource.Resource
reader
 
Constructor Summary
ContentResource(Identifiable identifiable, ResourceConfigApplier configApplier, ContentResourceReader reader)
           
 
Method Summary
 java.lang.String getContentType()
           
 
Methods inherited from class com.github.dreamhead.moco.resource.Resource
apply, id, readFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentResource

public ContentResource(Identifiable identifiable,
                       ResourceConfigApplier configApplier,
                       ContentResourceReader reader)
Method Detail

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface Content