[
https://issues.apache.org/jira/browse/CMIS-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Müller reassigned CMIS-355:
-----------------------------------
Assignee: Florian Müller
> org.apache.chemistry.opencmis.client.utils FileUtils.java source
> ----------------------------------------------------------------
>
> Key: CMIS-355
> URL: https://issues.apache.org/jira/browse/CMIS-355
> Project: Chemistry
> Issue Type: Improvement
> Components: opencmis-client
> Affects Versions: OpenCMIS 0.3.0
> Reporter: jay brown
> Assignee: Florian Müller
> Priority: Minor
> Attachments: FileUtils.java
>
>
> Wrote up some fileutils helper code for a demo I am doing. I would like to
> donate this to Chemistry if you can use it. It is a translation of the
> helper code you already have for groovy.
> The attached class is in
> package org.apache.chemistry.opencmis.client.utils;
> and contains the following static methods:
> static public CmisObject getObject(String pathOrIdOfObject, Session session)
> static public Folder getFolder(String pathOrIdOfObject, Session session)
> static public Document createDocumentFromFile(String parentIdOrPath,
> File file, String type, VersioningState versioningState,
> Session session)
> static public Document createTextDocument(String parentIdOrPath,
> String name, String content, String type,
> VersioningState versioningState,
> Session session)
> static public Folder createFolder(Folder parentFolder, String name,
> String type)
> static public Folder createFolder(String parentIdOrPath, String name,
> String type, Session session)
> static public void download(Document doc, String destinationPath)
> static public void download(String docIdOrPath, String destinationPath,
> Session session)
> static public void delete(String pathOrIdOfObject, Session session)
> static public void printProperties(CmisObject object)
> static public void printProperty(Property<?> prop)
> plus one private static for a buffercopy.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira