edu.indiana.dlib.metsnav.config
Class URLDataSource
java.lang.Object
edu.indiana.dlib.metsnav.config.DataSourceConfig
edu.indiana.dlib.metsnav.config.FileSystemDataSource
edu.indiana.dlib.metsnav.config.URLDataSource
public class URLDataSource
- extends FileSystemDataSource
This data source allows user to append a URL pointing to the METS file
as the object id
- Author:
- Ryan Scherle, David Jiao
URLDataSource
public URLDataSource()
getStream
public InputStream getStream(String cid)
- Description copied from class:
FileSystemDataSource
- Return the file input stream. It returns null if the cid doesn't exist
- Overrides:
getStream
in class FileSystemDataSource
- Returns:
Copyright © 2005 Trustees of Indiana University. All Rights Reserved.