Class ICopyableConverter
java.lang.Object
com.vdoc.sdk.commons.io.filecenter.ICopyableConverter
Interface Copyable converter
-
Method Summary
Modifier and TypeMethodDescriptionstatic ICopyableconvertFile(File file) Convert filestatic Collection<ICopyable> convertFileCollection(Collection<File> files) Convert file collectionstatic ICopyableconvertIAttachement(IAttachment attachment) Convert IAttachementstatic Collection<ICopyable> convertIAttachementCollection(Collection<IAttachment> attachments) Convert IAttachement collection
-
Method Details
-
convertIAttachement
Convert IAttachement- Parameters:
attachment- the attachment- Returns:
- the copied file from the attachement
-
convertFile
Convert file- Parameters:
file- the file- Returns:
- the copied file from the given file
- Throws:
FileNotFoundException- if the file is not found
-
convertIAttachementCollection
public static Collection<ICopyable> convertIAttachementCollection(Collection<IAttachment> attachments) Convert IAttachement collection- Parameters:
attachments- the attachments- Returns:
- the copied files from the attachements
-
convertFileCollection
public static Collection<ICopyable> convertFileCollection(Collection<File> files) throws FileNotFoundException Convert file collection- Parameters:
files- the files- Returns:
- the copied files from the given files
- Throws:
FileNotFoundException- if a file is not found
-