AnsweredAssumed Answered

how can I get the extension of a file

Question asked by google on Jul 18, 2007
Latest reply on Jul 31, 2007 by google

I have this piece of code

QueryResult result = getRepositoryService().query(store, queryStr, true);
        if (result != null) {
            ResultSetRow[] rows = result.getResultSet().getRows();
              ….each row from the result represents a document
                 here I want to extract for each document it's extension….

Please tell me if there is any way to get the extension of a file returned as a query result.

George :roll: