private static String getServer(String absolutePath) {
        int index = absolutePath.indexOf(":");
        return absolutePath.substring(0, Math.max(index, 0));
    }
private static String getServer ( String absolutePath ) { int index = absolutePath . indexOf ( ":" ) ; return absolutePath . substring ( 0 , Math . max ( index , 0 ) ) ; }
@param absolutePath
The fully qualified path to the export, e.g., 10.32.172.64:/store.
@return The server.