|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfedora.server.storage.types.Datastream
Title: Datastream.java
Description:
-----------------------------------------------------------------------------License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.
-----------------------------------------------------------------------------
| Field Summary | |
java.lang.String[] |
DatastreamAltIDs
|
java.lang.String |
DatastreamID
|
java.lang.String |
DSControlGrp
Datastream Control Group: This indicates the nature of the repository's control over the datastream content. |
java.util.Date |
DSCreateDT
|
java.lang.String |
DSFormatURI
|
java.lang.String |
DSInfoType
Used to maintain backwards compatibility with METS-Fedora |
java.lang.String |
DSLabel
|
java.lang.String |
DSLocation
|
java.lang.String |
DSLocationType
|
java.lang.String |
DSMIME
|
long |
DSSize
|
java.lang.String |
DSState
|
boolean |
DSVersionable
|
java.lang.String |
DSVersionID
|
boolean |
isNew
|
| Constructor Summary | |
Datastream()
|
|
| Method Summary | |
java.io.InputStream |
getContentStream()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public boolean isNew
public java.lang.String DatastreamID
public java.lang.String[] DatastreamAltIDs
public java.lang.String DSFormatURI
public java.lang.String DSMIME
public java.lang.String DSControlGrp
R = Redirected. The datastream resides on an external server and is referenced by a URL. When a dissemination request for the *datastream* comes through, Fedora sends an HTTP redirect to the client, thereby causing the client to directly access the datastream from its external location. This is useful in cases where the datastream is really some sort of streaming media that cannot be piped through Fedora, or the datastream is an HTML document with relative hyperlinks to the server on which is is normally hosted. E = External Referenced. The datastream content is external to the repository and referenced by URL. The content is not under the direct custodianship of the repository. The URL is considered public so the repository does not worry about whether it exposes the datastream location to collaborating services. M = Managed Content. The datastream content is stored and managed by the repository. The content is considered under the direct custodianship of the repository. The repository does not expose the underlying storage location to collaborating services and it mediates all access to the content by collaborating services. X = Inline XML Metadata. The datastream content is user-defined XML metadata that is stored within the digital object XML file itself. As such, it is intrinsically bound to the digital object, and by implication, it is stored and managed by the repository. The content considered under the custodianship of the repository.
public java.lang.String DSInfoType
public java.lang.String DSState
public boolean DSVersionable
public java.lang.String DSVersionID
public java.lang.String DSLabel
public java.util.Date DSCreateDT
public long DSSize
public java.lang.String DSLocation
public java.lang.String DSLocationType
| Constructor Detail |
public Datastream()
| Method Detail |
public java.io.InputStream getContentStream()
throws StreamIOException
StreamIOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||