com.atlassian.crowd.manager.backup
Class FileToTimestampTransformer
java.lang.Object
com.atlassian.crowd.manager.backup.FileToTimestampTransformer
- All Implemented Interfaces:
- com.google.common.base.Function<File,Date>
public class FileToTimestampTransformer
- extends Object
- implements com.google.common.base.Function<File,Date>
Transforms a File
into a Date
, or null
if the file is not a valid automated backup file.
Note: this class is stateful and not thread safe.
- Since:
- v2.7
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Function |
equals |
FileToTimestampTransformer
public FileToTimestampTransformer()
apply
public Date apply(File file)
- Specified by:
apply
in interface com.google.common.base.Function<File,Date>
Copyright © 2013 Atlassian. All Rights Reserved.