public abstract class MainStorageWithoutArchive extends Object implements MainStorageInterface
Constructor and Description |
---|
MainStorageWithoutArchive() |
Modifier and Type | Method and Description |
---|---|
void |
delete(DsInfo dsInfo)
This is a dummy implementation
|
boolean |
exists(DsInfo dsInfo)
This is a dummy implementation
|
void |
put(InputStream inputStream,
String location)
This is a dummy implementation - only used when a file is restored from archive so the
Datafile.location field in ICAT is already known.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, get, put
public void delete(DsInfo dsInfo) throws IOException
delete
in interface MainStorageInterface
dsInfo
- describes the data set with the files to be deletedIOException
public boolean exists(DsInfo dsInfo) throws IOException
exists
in interface MainStorageInterface
dsInfo
- describes the data set being queriedIOException
public void put(InputStream inputStream, String location) throws IOException
put
in interface MainStorageInterface
inputStream
- stream of data to storelocation
- where to store the fileIOException
Copyright © 2014 The ICAT Collaboration. All rights reserved.