jodd.decora
Class ContentTypeHeaderResolver

java.lang.Object
  extended by jodd.decora.ContentTypeHeaderResolver

public class ContentTypeHeaderResolver
extends java.lang.Object

Extracts type and encoding from Content-Type header.


Constructor Summary
ContentTypeHeaderResolver(java.lang.String fullContentType)
           
 
Method Summary
 java.lang.String getEncoding()
          Returns encoding;
 java.lang.String getType()
          Returns content type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentTypeHeaderResolver

public ContentTypeHeaderResolver(java.lang.String fullContentType)
Method Detail

getType

public java.lang.String getType()
Returns content type.


getEncoding

public java.lang.String getEncoding()
Returns encoding;



Copyright © 2003-2012 Jodd Team