org.apache.abdera.protocol.util
Class CacheControlUtil.CacheControlParser

java.lang.Object
  extended by org.apache.abdera.protocol.util.CacheControlUtil.CacheControlParser
All Implemented Interfaces:
java.lang.Iterable<CacheControlUtil.Directive>
Enclosing class:
CacheControlUtil

public static class CacheControlUtil.CacheControlParser
extends java.lang.Object
implements java.lang.Iterable<CacheControlUtil.Directive>


Constructor Summary
CacheControlUtil.CacheControlParser(java.lang.String value)
           
 
Method Summary
 java.lang.String getValue(CacheControlUtil.Directive directive)
           
 java.util.Map<CacheControlUtil.Directive,java.lang.String> getValues()
           
 java.lang.String[] getValues(CacheControlUtil.Directive directive)
           
 java.util.Iterator<CacheControlUtil.Directive> iterator()
           
static java.lang.String[] splitAndTrim(java.lang.String value, java.lang.String delim, boolean unquote)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheControlUtil.CacheControlParser

public CacheControlUtil.CacheControlParser(java.lang.String value)
Method Detail

getValues

public java.util.Map<CacheControlUtil.Directive,java.lang.String> getValues()

getValue

public java.lang.String getValue(CacheControlUtil.Directive directive)

iterator

public java.util.Iterator<CacheControlUtil.Directive> iterator()
Specified by:
iterator in interface java.lang.Iterable<CacheControlUtil.Directive>

getValues

public java.lang.String[] getValues(CacheControlUtil.Directive directive)

splitAndTrim

public static java.lang.String[] splitAndTrim(java.lang.String value,
                                              java.lang.String delim,
                                              boolean unquote)