public class MediaTypeCache
extends java.lang.Object
Constructor and Description |
---|
MediaTypeCache(int size) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
parse(java.lang.String input)
Looks in the cache and returns the cached value if one is present.
|
public java.lang.String[] parse(java.lang.String input) throws ParseException
input
- The content-type header value to parseParseException
- if the input cannot be parsedCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.