Package org.xmlresolver.cache
Class CacheParser
- java.lang.Object
-
- org.xmlresolver.cache.CacheParser
-
public class CacheParser extends java.lang.Object
Parse user-supplied strings into cache info values
-
-
Constructor Summary
Constructors Constructor Description CacheParser(ResolverConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
parseLong(java.lang.String longStr, long defVal)
long
parseLong(java.lang.String longStr, long units, long defVal)
long
parseSizeLong(java.lang.String longStr, long defVal)
long
parseTimeLong(java.lang.String longStr, long defVal)
-
-
-
Constructor Detail
-
CacheParser
public CacheParser(ResolverConfiguration config)
-
-
Method Detail
-
parseLong
public long parseLong(java.lang.String longStr, long defVal)
-
parseSizeLong
public long parseSizeLong(java.lang.String longStr, long defVal)
-
parseTimeLong
public long parseTimeLong(java.lang.String longStr, long defVal)
-
parseLong
public long parseLong(java.lang.String longStr, long units, long defVal)
-
-