|Constructor and Description|
Initializes a new transaction file, given which cleanup has occurred
Initializes a new cleanup file, given a name.
|Modifier and Type||Method and Description|
Parses the name of the file and validates it against the classes name pattern.
createRemoteFile, createRemoteFile, equals, getAttributes, getName, hashCode, setAttributes, toString
public CleanupRemoteFile(java.lang.String name) throws StorageException
public CleanupRemoteFile(long cleanupNumber) throws StorageException
remoteTransaction- the remoteTransaction for which a file is needed
StorageException- If the name is not match the name pattern
protected java.lang.String validateName(java.lang.String name) throws StorageException
name- The name of the file (as it is identified by Syncany)
StorageException- If the name does not match the name pattern defined by the class.
public long getCleanupNumber()
Syncany is an open-source cloud storage and filesharing application.
Code located at https://github.com/syncany/syncany
JavaDoc for version 0.4.9-alpha generated based on commit 2ab2a6f at Thu May 25 10:14:24 UTC 2017
Copyright © 2011-2015 Philipp C. Heckel