| Modifier and Type | Field and Description |
|---|---|
| private final ConcurrentCache |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] |
| cache | back to summary |
|---|---|
| private final ConcurrentCache<String, String[]> cache | |
| MediaTypeCache | back to summary |
|---|---|
| public MediaTypeCache(int size) | |
| parse | back to summary |
|---|---|
| public String[] parse(String input) Looks in the cache and returns the cached value if one is present. If no match exists in the cache, a new parser is created, the input parsed and the results placed in the cache and returned to the user. | |