public class AbstractFileSystemService
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILES_PATH |
static java.lang.String |
PIXELS_PATH |
static java.lang.String |
ROOT_DEFAULT |
static java.lang.String |
THUMBNAILS_PATH |
Constructor and Description |
---|
AbstractFileSystemService(java.lang.String path)
Deprecated.
|
AbstractFileSystemService(java.lang.String path,
boolean isReadOnlyRepo) |
Modifier and Type | Method and Description |
---|---|
protected void |
createSubpath(java.lang.String path)
Makes sure that for a given path, its subpath exists.
|
java.lang.String |
getFilesPath(java.lang.Long id)
Returns a numbered path relative to the root of this service, but is
ignorant of FS and similar constructs.
|
java.lang.String |
getPixelsDirectory()
Returns a numbered path relative to the root of this service, but is
ignorant of FS and similar constructs.
|
java.lang.String |
getPixelsPath(java.lang.Long id)
Returns a numbered path relative to the root of this service, but is
ignorant of FS and similar constructs.
|
java.lang.String |
getThumbnailPath(java.lang.Long id)
Returns a numbered path relative to the root of this service, but is
ignorant of FS and similar constructs.
|
public static final java.lang.String ROOT_DEFAULT
public static final java.lang.String PIXELS_PATH
public static final java.lang.String FILES_PATH
public static final java.lang.String THUMBNAILS_PATH
@Deprecated public AbstractFileSystemService(java.lang.String path)
public AbstractFileSystemService(java.lang.String path, boolean isReadOnlyRepo)
protected void createSubpath(java.lang.String path)
path
- the path to check for subpath existence.public java.lang.String getPixelsDirectory()
public java.lang.String getPixelsPath(java.lang.Long id)
id
- the Pixels identifierpublic java.lang.String getFilesPath(java.lang.Long id)
id
- the Files identifierpublic java.lang.String getThumbnailPath(java.lang.Long id)
id
- the thumbnail identifier
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.