/** * Returns the URI of the newest schema in the manager. */ public URI getNewestSchemaURI() { Path path = newestFile(); return path == null ? null : rootFileSystem.makeQualified(path).toUri(); }
/** * Gets the newest schema version being managed. * * @return thew newest schema version */ public Schema getNewestSchema() { Path schemaPath = newestFile(); return schemaPath == null ? null : loadSchema(schemaPath); }
Path previousPath = newestFile();