public class ArtifactFactory extends Object
| Constructor and Description |
|---|
ArtifactFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Artifact |
fromArchiveRecord(org.archive.io.ArchiveRecord record) |
static Artifact |
fromHttpResponse(org.apache.http.HttpResponse response) |
static Artifact |
fromHttpResponseStream(org.springframework.http.HttpHeaders additionalMetadata,
InputStream responseStream) |
static Artifact |
fromHttpResponseStream(InputStream responseStream) |
static Artifact |
fromResource(InputStream resourceStream) |
static Artifact |
fromResourceStream(org.springframework.http.HttpHeaders metadata,
InputStream resourceStream) |
static Artifact |
fromResourceStream(org.springframework.http.HttpHeaders metadata,
InputStream resourceStream,
org.apache.http.StatusLine responseStatus) |
public static Artifact fromHttpResponseStream(InputStream responseStream) throws IOException
IOExceptionpublic static Artifact fromHttpResponseStream(org.springframework.http.HttpHeaders additionalMetadata, InputStream responseStream) throws IOException
IOExceptionpublic static Artifact fromHttpResponse(org.apache.http.HttpResponse response) throws IOException
IOExceptionpublic static Artifact fromResource(InputStream resourceStream)
public static Artifact fromResourceStream(org.springframework.http.HttpHeaders metadata, InputStream resourceStream)
public static Artifact fromResourceStream(org.springframework.http.HttpHeaders metadata, InputStream resourceStream, org.apache.http.StatusLine responseStatus)
public static Artifact fromArchiveRecord(org.archive.io.ArchiveRecord record) throws IOException
IOExceptionCopyright © 2000–2018 LOCKSS Program. All rights reserved.