Package com.github.jsonldjava.utils
Class JarCacheResource
java.lang.Object
com.github.jsonldjava.utils.JarCacheResource
- All Implemented Interfaces:
Serializable
,org.apache.http.client.cache.Resource
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final URLConnection
private final org.slf4j.Logger
private static final long
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
private final org.slf4j.Logger log -
connection
-
-
Constructor Details
-
JarCacheResource
- Throws:
IOException
-
-
Method Details
-
length
public long length()- Specified by:
length
in interfaceorg.apache.http.client.cache.Resource
-
getInputStream
- Specified by:
getInputStream
in interfaceorg.apache.http.client.cache.Resource
- Throws:
IOException
-
dispose
public void dispose()- Specified by:
dispose
in interfaceorg.apache.http.client.cache.Resource
-