public class ThreddsController extends Object
| Constructor and Description |
|---|
ThreddsController(String path,
String targetToken) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupFolder(String targetPath) |
org.gcube.data.transfer.model.plugins.thredds.ThreddsCatalog |
createCatalog() |
void |
deleteThreddsFile(String location) |
boolean |
existsThreddsFile(String location) |
org.gcube.data.transfer.model.plugins.thredds.ThreddsCatalog |
getCatalog() |
org.gcube.data.transfer.model.RemoteFileDescriptor |
getFileDescriptor(String path) |
org.gcube.data.transfer.model.plugins.thredds.ThreddsInfo |
getThreddsInfo() |
void |
lockFolder(String processId) |
String |
readThreddsFile(String location) |
public ThreddsController(String path, String targetToken) throws InternalException
InternalExceptionpublic final org.gcube.data.transfer.model.plugins.thredds.ThreddsInfo getThreddsInfo()
public void lockFolder(String processId) throws UnableToLockException
UnableToLockExceptionpublic void deleteThreddsFile(String location) throws RemoteFileNotFoundException
RemoteFileNotFoundExceptionpublic boolean existsThreddsFile(String location)
public String readThreddsFile(String location) throws RemoteFileNotFoundException
RemoteFileNotFoundExceptionpublic void cleanupFolder(String targetPath) throws InternalException
InternalExceptionpublic org.gcube.data.transfer.model.plugins.thredds.ThreddsCatalog createCatalog()
public org.gcube.data.transfer.model.plugins.thredds.ThreddsCatalog getCatalog()
public org.gcube.data.transfer.model.RemoteFileDescriptor getFileDescriptor(String path) throws RemoteFileNotFoundException
RemoteFileNotFoundExceptionCopyright © 2018. All Rights Reserved.