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(List<FsFile> paths)
From a list of paths, calculate the common root path that all share.
|
protected FsFile |
ManagedRepositoryI.createTemplatePath(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,
String repoUuid)
Get an
FsFile object based on its ID. |
FsFile |
RepositoryDaoImpl.getFile(long id,
Ice.Current current,
String repoUuid) |
Modifier and Type | Method and Description |
---|---|
protected omero.grid.ImportLocation |
ManagedRepositoryI.suggestImportPaths(FsFile relPath,
FsFile basePath,
List<FsFile> paths,
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,
List<FsFile> fullPaths,
Class<? extends loci.formats.FormatReader> readerClass)
Trim off the start of long client-side paths.
|
Modifier and Type | Method and Description |
---|---|
protected FsFile |
ManagedRepositoryI.commonRoot(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,
List<FsFile> paths,
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,
List<FsFile> fullPaths,
Class<? extends loci.formats.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(File clientFile,
int depth)
Given a client-local
File , and a path component depth,
returns the corresponding repository path. |
FsFile |
ServerFilePathTransformer.getFsFileFromServerFile(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<String,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.
|
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.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.