Package | Description |
---|---|
ome.services.blitz.repo | |
ome.services.blitz.repo.path |
Modifier and Type | Field and Description |
---|---|
FsFile |
CheckedPath.fsFile |
protected FsFile |
ManagedRepositoryI.templateRoot |
Modifier and Type | Method and Description |
---|---|
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,
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) |
Modifier and Type | Method and Description |
---|---|
protected omero.grid.ImportLocation |
ManagedRepositoryI.suggestImportPaths(FsFile relPath,
FsFile basePath,
java.util.List<FsFile> paths,
java.lang.Class<? extends 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 FormatReader> readerClass)
Trim off the start of long client-side paths.
|
Modifier and Type | Method and Description |
---|---|
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 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 FormatReader> readerClass)
Trim off the start of long client-side paths.
|
Modifier and Type | Field and Description |
---|---|
static FsFile |
FsFile.emptyPath
the FsFile that has no path components
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
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.
|
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.