public class SimpleDriveService extends Object implements DriveService
| Constructor and Description |
|---|
SimpleDriveService(DriveBackend driveBackend,
DriveReader reader,
DriveWriter writer,
ConversionHandler conversionHandler)
Instantiates a new simple drive service
|
| Modifier and Type | Method and Description |
|---|---|
DriveBackend |
getBackend()
Retrieves the backend of the given drive service
|
ConversionHandler |
getConversionHandler()
Retrieves the conversion handler used to convert objects
|
DriveReader |
getReader()
Retrieves the reader used to read drive data
|
DriveWriter |
getWriter()
Retrieves the writer used to write new drive into the backend
|
public SimpleDriveService(DriveBackend driveBackend, DriveReader reader, DriveWriter writer, ConversionHandler conversionHandler)
driveBackend - the backend to be usedreader - the reader to be usedwriter - the writer to be usedconversionHandler - the conversion handler used for conversionpublic DriveBackend getBackend()
getBackend in interface DriveServicepublic DriveReader getReader()
getReader in interface DriveServicepublic DriveWriter getWriter()
getWriter in interface DriveServicepublic ConversionHandler getConversionHandler()
getConversionHandler in interface DriveServiceCopyright © 2020. All rights reserved.