public File getFile() returns the file object representing
the content.
Parameters
None
Returns
Returns a File representing the content.
Example
ServiceRegistry serviceRegistry = session.getServiceRegistry(); DocumentFolderService documentFolderService = serviceRegistry.getDocumentFolderService(); Node node = getTestNode(session, "ClimbingVolcanoes.JPG"); ContentFile cf = documentFolderService.getRendition(node, RENDITION_THUMBNAIL); Log.d(TAG, "fileName: " + cf.getFileName()); Log.d(TAG, "length: " + cf.getLength()); Log.d(TAG, "mimeType: " + cf.getMimeType()); File f = cf.getFile();
Would produce output such as the following: