As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
QueryResult rootChildren = WebServiceFactory.getRepositoryService().queryChildren(refEspaceAlfresco); ResultSet rootChildrenResults = rootChildren.getResultSet(); ResultSetRow[] rowsElementsDuLot = rootChildrenResults.getRows(); ResultSetRow row = null; ResultSetRowNode rsNode = null; for (int i = 0; i < rowsElementsDuLot.length; i++) { row = rowsElementsDuLot[i]; if (row.getNode().getType().equals(Constants.TYPE_CONTENT)) { [b]Here I want to get the mime type of the file… [/b] }
contentUrl=store://2006/4/26/16/a874f499-d539-11da-a07f-7f7271fd4b4e.bin|mimetype=text/plain|size=652|encoding=UTF-8