Package nl.knaw.dans.bagit.domain
Class FetchItem
java.lang.Object
nl.knaw.dans.bagit.domain.FetchItem
An individual item to fetch as specified by
https://tools.ietf.org/html/draft-kunze-bagit-13#section-2.2.3
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
url
The url from which the item can be downloaded -
length
The length of the file in octets -
path
The path where the fetched item should be put -
cachedString
-
-
Constructor Details
-
FetchItem
- Parameters:
url
- theURL
of the filelength
- the file length in bytes, -1 or null to not specify the lengthpath
- the path in the bag where the file belongs
-
-
Method Details