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, it's 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 existance.public String getPixelsPath(Long id)
id
- public String getFilesPath(Long id)
id
- public String getThumbnailPath(Long id)
id
-
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.