public class FileIdCache extends Object
Converts a file/directory id to a share relative path.
Constructor and Description |
---|
FileIdCache()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addPath(int fid,
String path)
Add an entry to the cache
|
void |
deletePath(int fid)
Delete an entry from the cache
|
String |
findPath(int fid)
Convert a file id to a path
|
public final void addPath(int fid, String path)
fid
- intpath
- Stringpublic final String findPath(int fid)
fid
- intpublic final void deletePath(int fid)
fid
- intCopyright © 2005–2018 Alfresco Software. All rights reserved.