D - the kind of data this BackupFactoryData stores.public class BackupFactoryData<D> extends Object
| Constructor and Description |
|---|
BackupFactoryData(String identifier,
D data)
Creates a new
BackupFactoryData |
| Modifier and Type | Method and Description |
|---|---|
D |
getData()
Gets the data that is wrapped up by this
BackupFactoryData. |
String |
getIdentifier()
Gets the identifier of this data.
|
public BackupFactoryData(String identifier, D data)
BackupFactoryDataidentifier - the identifier of this piece of data, can be nulldata - the client specified data, might be nullpublic String getIdentifier()
nullpublic D getData()
BackupFactoryData.nullCopyright © 2017 Docking Frames. All rights reserved.