ome.io.nio
Class AbstractFileSystemService
java.lang.Object
ome.io.nio.AbstractFileSystemService
- Direct Known Subclasses:
- OriginalFilesService, PixelsService, ThumbnailService
public class AbstractFileSystemService
- extends Object
- Author:
- callan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROOT_DEFAULT
public static final String ROOT_DEFAULT
PIXELS_PATH
public static final String PIXELS_PATH
FILES_PATH
public static final String FILES_PATH
THUMBNAILS_PATH
public static final String THUMBNAILS_PATH
AbstractFileSystemService
public AbstractFileSystemService(String path)
createSubpath
protected void createSubpath(String path)
- Makes sure that for a given path, it's subpath exists. For example, given
the path "/foo/bar/foobar.txt" the method will make sure the directory
structure "/foo/bar" exists.
- Parameters:
path
- the path to check for subpath existance.
getPixelsPath
public String getPixelsPath(Long id)
getFilesPath
public String getFilesPath(Long id)
getThumbnailPath
public String getThumbnailPath(Long id)
OmeroJava Api
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.