com.groupdocs.viewer.handlers.input
Class AzureInputDataHandler
java.lang.Object
com.groupdocs.viewer.handlers.input.InputDataHandler
com.groupdocs.viewer.handlers.input.AzureInputDataHandler
public class AzureInputDataHandler
- extends InputDataHandler
- Author:
- Alex Bobkov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AzureInputDataHandler
public AzureInputDataHandler(String accountName,
String accoutnKey,
ServiceConfiguration config)
getFileList
public File[] getFileList(String directory)
- Description copied from class:
InputDataHandler
- Get files list
- Specified by:
getFileList
in class InputDataHandler
- Parameters:
directory
- Files location directory
- Returns:
- Files map, list or array
getFile
public InputStream getFile(String guid)
- Description copied from class:
InputDataHandler
- Get file
- Specified by:
getFile
in class InputDataHandler
- Parameters:
guid
- File id or file path
- Returns:
- InputStream of the file
getFileType
public FileType getFileType(String guid)
- Description copied from class:
InputDataHandler
- Get file type
- Specified by:
getFileType
in class InputDataHandler
- Parameters:
guid
- File id or file path
- Returns:
- FileType of the file
saveFile
public String saveFile(InputStream inputStream,
String fileName,
Integer timeToLive)
- Description copied from class:
InputDataHandler
- Save file
- Specified by:
saveFile
in class InputDataHandler
- Returns:
Copyright © 2014. All rights reserved.