Interface SequenceFileRemoteRepository
-
- All Superinterfaces:
RemoteRepository<SequenceFile>
- All Known Implementing Classes:
SequenceFileRemoteRepositoryImpl
public interface SequenceFileRemoteRepository extends RemoteRepository<SequenceFile>
Repository for readingSequenceFile
s from a Remote IRIDA installation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.file.Path
downloadRemoteSequenceFile(java.lang.String uri, RemoteAPI api)
Get a local copy of aSequenceFile
with a default MediaType of application/fastqjava.nio.file.Path
downloadRemoteSequenceFile(java.lang.String uri, RemoteAPI api, org.springframework.http.MediaType... mediaTypes)
Get a local copy of aSequenceFile
-
Methods inherited from interface ca.corefacility.bioinformatics.irida.repositories.remote.RemoteRepository
getServiceStatus, list, read
-
-
-
-
Method Detail
-
downloadRemoteSequenceFile
java.nio.file.Path downloadRemoteSequenceFile(java.lang.String uri, RemoteAPI api)
Get a local copy of aSequenceFile
with a default MediaType of application/fastq- Parameters:
uri
- The URI to get sequence data forapi
- TheRemoteAPI
this file resides on- Returns:
- A temporary
Path
to the sequence file data
-
downloadRemoteSequenceFile
java.nio.file.Path downloadRemoteSequenceFile(java.lang.String uri, RemoteAPI api, org.springframework.http.MediaType... mediaTypes)
Get a local copy of aSequenceFile
- Parameters:
uri
- the URI of the file to downloadapi
- TheRemoteAPI
this file resides onmediaTypes
- The media types to request from the remote API- Returns:
- A temporary
Path
to the sequence file data
-
-