パッケージ | 説明 |
---|---|
ome.services.blitz.repo | |
ome.services.blitz.repo.path |
修飾子とタイプ | フィールドと説明 |
---|---|
FsFile |
CheckedPath.fsFile |
protected FsFile |
ManagedRepositoryI.templateRoot |
修飾子とタイプ | メソッドと説明 |
---|---|
protected FsFile |
ManagedRepositoryI.commonRoot(java.util.List<FsFile> paths)
From a list of paths, calculate the common root path that all share.
|
protected FsFile |
ManagedRepositoryI.createTemplatePath(java.lang.Object consistentData,
Ice.Current __current)
Expand the template path and create its directories with the correct ownership.
|
protected FsFile |
ManagedRepositoryI.expandTemplateRootOwnedPath(omero.sys.EventContext ctx,
ome.system.ServiceFactory sf)
Expand the root-owned segment of the template path.
|
FsFile |
RepositoryDao.getFile(long id,
Ice.Current current,
java.lang.String repoUuid)
Get an
FsFile object based on its ID. |
FsFile |
RepositoryDaoImpl.getFile(long id,
Ice.Current current,
java.lang.String repoUuid) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected omero.grid.ImportLocation |
ManagedRepositoryI.suggestImportPaths(FsFile relPath,
FsFile basePath,
java.util.List<FsFile> paths,
java.lang.Class<? extends loci.formats.FormatReader> reader,
omero.model.ChecksumAlgorithm checksumAlgorithm,
Ice.Current __current)
Take a relative path that the user would like to see in his or her
upload area, and provide an import location instance whose paths
correspond to existing directories corresponding to the sanitized
file paths.
|
protected ome.services.blitz.repo.ManagedRepositoryI.Paths |
ManagedRepositoryI.trimPaths(FsFile basePath,
java.util.List<FsFile> fullPaths,
java.lang.Class<? extends loci.formats.FormatReader> readerClass)
Trim off the start of long client-side paths.
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected FsFile |
ManagedRepositoryI.commonRoot(java.util.List<FsFile> paths)
From a list of paths, calculate the common root path that all share.
|
protected omero.grid.ImportLocation |
ManagedRepositoryI.suggestImportPaths(FsFile relPath,
FsFile basePath,
java.util.List<FsFile> paths,
java.lang.Class<? extends loci.formats.FormatReader> reader,
omero.model.ChecksumAlgorithm checksumAlgorithm,
Ice.Current __current)
Take a relative path that the user would like to see in his or her
upload area, and provide an import location instance whose paths
correspond to existing directories corresponding to the sanitized
file paths.
|
protected ome.services.blitz.repo.ManagedRepositoryI.Paths |
ManagedRepositoryI.trimPaths(FsFile basePath,
java.util.List<FsFile> fullPaths,
java.lang.Class<? extends loci.formats.FormatReader> readerClass)
Trim off the start of long client-side paths.
|
修飾子とタイプ | フィールドと説明 |
---|---|
static FsFile |
FsFile.emptyPath
the FsFile that has no path components
|
修飾子とタイプ | メソッドと説明 |
---|---|
static FsFile |
FsFile.concatenate(FsFile... files)
Concatenate paths.
|
FsFile |
ClientFilePathTransformer.getFsFileFromClientFile(java.io.File clientFile,
int depth)
Given a client-local
File , and a path component depth,
returns the corresponding repository path. |
FsFile |
ServerFilePathTransformer.getFsFileFromServerFile(java.io.File serverFile)
Given a server-local
File , returns the corresponding repository path. |
FsFile |
FsFile.getPathFrom(FsFile file)
Find the relative path of this path from a given parent.
|
FsFile |
FsFile.transform(com.google.common.base.Function<java.lang.String,java.lang.String> componentTransformer)
Transform each path component with the given transformer.
|
修飾子とタイプ | メソッドと説明 |
---|---|
static FsFile |
FsFile.concatenate(FsFile... files)
Concatenate paths.
|
FsFile |
FsFile.getPathFrom(FsFile file)
Find the relative path of this path from a given parent.
|
java.io.File |
ServerFilePathTransformer.getServerFileFromFsFile(FsFile fsFile)
Given a repository path, returns the corresponding server-local
File . |
boolean |
ServerFilePathTransformer.isLegalFsFile(FsFile fsFile)
Test if the given
FsFile has been properly sanitized by the client. |
void |
FilePathNamingValidator.validateFilePathNaming(FsFile fsFile)
Validate the given FS file.
|
コンストラクタと説明 |
---|
FsFile(FsFile file,
int maxComponentCount)
Construct an instance by trimming parent directories from an existing instance
such that the depth does not exceed the given maximum.
|