Class GoogleDriveFilesConverter
java.lang.Object
org.apache.camel.component.google.drive.GoogleDriveFilesConverter
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStreamdownload(com.google.api.services.drive.model.File fileMetadata, org.apache.camel.Exchange exchange) static StringdownloadContentAsString(com.google.api.services.drive.model.File fileMetadata, org.apache.camel.Exchange exchange) static com.google.api.services.drive.model.FilegenericFileToGoogleDriveFile(org.apache.camel.component.file.GenericFile<?> file, org.apache.camel.Exchange exchange) static com.google.api.services.drive.model.ChildReferencegenericStringToChildReference(String payload, org.apache.camel.Exchange exchange)
-
Method Details
-
genericFileToGoogleDriveFile
@Converter public static com.google.api.services.drive.model.File genericFileToGoogleDriveFile(org.apache.camel.component.file.GenericFile<?> file, org.apache.camel.Exchange exchange) throws Exception - Throws:
Exception
-
download
@Converter(allowNull=true) public static InputStream download(com.google.api.services.drive.model.File fileMetadata, org.apache.camel.Exchange exchange) throws Exception - Throws:
Exception
-
downloadContentAsString
@Converter public static String downloadContentAsString(com.google.api.services.drive.model.File fileMetadata, org.apache.camel.Exchange exchange) throws Exception - Throws:
Exception
-
genericStringToChildReference
@Converter public static com.google.api.services.drive.model.ChildReference genericStringToChildReference(String payload, org.apache.camel.Exchange exchange)
-