@Override public FilePathNioMem getPath(String path) { if (!path.startsWith(getScheme())) { throw new IllegalArgumentException(path + " doesn't start with " + getScheme()); } int idx1 = path.indexOf(':'); int idx2 = path.lastIndexOf(':'); final FilePathNioMemLZF p = new FilePathNioMemLZF(); if (idx1 != -1 && idx1 != idx2) { p.compressLaterCachePercent = Float.parseFloat(path.substring(idx1 + 1, idx2)); } p.name = getCanonicalPath(path); return p; }