public abstract class ArchiveStorageReadOnly extends Object implements ArchiveStorageInterface
Constructor and Description |
---|
ArchiveStorageReadOnly() |
Modifier and Type | Method and Description |
---|---|
void |
delete(DsInfo dsInfo)
This is a dummy implementation
|
void |
delete(String location)
This is a dummy implementation
|
void |
put(DsInfo dsInfo,
InputStream inputStream)
This is a dummy implementation
|
void |
put(InputStream is,
String location)
This is a dummy implementation
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, restore
public void delete(DsInfo dsInfo) throws IOException
delete
in interface ArchiveStorageInterface
dsInfo
- describes the data setIOException
public void put(DsInfo dsInfo, InputStream inputStream) throws IOException
put
in interface ArchiveStorageInterface
dsInfo
- describes the data setIOException
public void delete(String location) throws IOException
delete
in interface ArchiveStorageInterface
location
- where to store the fileIOException
public void put(InputStream is, String location) throws IOException
put
in interface ArchiveStorageInterface
is
- stream of data to storelocation
- where to store the fileIOException
Copyright © 2016 The ICAT Collaboration. All rights reserved.