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