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) |
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
public AbstractFileSystemService(java.lang.String path)
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.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.