saveFile(Branch branch, String dirPath, String filename, InputStream in, Profile currentUser) | void | Deprecated use RepositoryManager.saveFile instead |
createFolder(Branch branch, String dirPath, String folderName, Profile currentUser) | void | |
convertToInputStream(String content) | InputStream | Convert string content to an input stream |
uploadFiles(Map<String,FileItem> files) | Map<String,String> | |
uploadFile(FileItem file) | String | |
upload(InputStream in) | String | Deprecated use RepositoryManager.upload |
upload(byte[] bytes) | String | |
getAsInputStream(String hash) | ByteArrayInputStream | |
getAsByteArray(String hash) | byte[] | |
getAsString(String hash) | String | |
getAsString(FileItem fileItem) | String | |
getAsBase64(String hash) | String | |
getAsBase64(Resource resource) | String | |
getAsBase64(InputStream in) | String | |
getAsByteArray(InputStream in) | byte[] | |
getBranchFolder(String repoName) | BranchFolder | get repo live branch |
getBranchFolder(String repoName, boolean autoCreate) | BranchFolder | get or create repo live branch |
getBranchFolder(String repoName, String branchName) | BranchFolder | Get a branch folder |
getBranchFolder(String repoName, String branchName, boolean autoCreate) | BranchFolder | get or create branch folder
Deprecated, use RepositoryManager.findOrCreateRepositoryBranch instead |
fromCsv(Object o) | List<String[]> | Parse a CSV file and return a list (rows) of string arrays (fields) |
fromCsv(Object o, Object seperator) | List<String[]> | Parse a CSV file and return a list (rows) of string arrays (fields) |
parseExcel(InputStream in, boolean useXml) | Workbook | Parse an excel file from an inputStream |
parseExcel(byte[] bytes, boolean useXml) | Workbook | Parse an excel file from a byte array |
parseDOM(String s) | Document | |
parseDOM(InputStream in) | Document | |
parseXmlToJson(InputStream in) | String | Parses XML and returns a string in JSON format |
parseXmlToJson(String rawXml) | String | Parses XML and returns a string in JSON format |
parsePDF(byte[] bytes, Consumer<PdfDocument> callback) | void | |
parsePDF(byte[] bytes, String password, Consumer<PdfDocument> callback) | void | |
toCsvAsString(List<List> list) | String | Converts a list of list of strings to a CSV and returns the output as a
string |
toCsvAsString(List<List> list, char separator) | String | Converts a list of list of strings to a CSV and returns the output as a
string |
toCsvAsString(List<List> list, char separator, char quotechar) | String | Converts a list of list of strings to a CSV and returns the output as a
string |