Package io.mateu.util.data
Class FileLocator
- All Implemented Interfaces:
IFileLocator,Serializable,Cloneable,Map<String,Object>
Created by miguel on 4/1/17.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionFileLocator(long id, String fileName, String url) FileLocator(long id, String fileName, String url, String tmpPath) FileLocator(FileLocator value) FileLocator(String id, String name, String url, String json) -
Method Summary
Modifier and TypeMethodDescriptionlonggetId()getUrl()booleanvoidsetFileName(String fileName) voidsetId(long id) voidsetModified(boolean modified) voidsetTmpPath(String tmpPath) voidMethods inherited from class io.mateu.util.data.Data
auxCopy, clone, copy, get, get, getBoolean, getData, getDate, getDouble, getInt, getList, getLocalDate, getLocalDateTime, getLong, getSelection, getString, hashCode, isEmpty, set, setAll, strip, toJson, toStringMethods inherited from class java.util.HashMap
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals
-
Constructor Details
-
FileLocator
-
FileLocator
-
FileLocator
-
FileLocator
- Throws:
IOException
-
-
Method Details
-
getUrl
- Specified by:
getUrlin interfaceIFileLocator
-
getId
public long getId()- Specified by:
getIdin interfaceIFileLocator
-
setId
public void setId(long id) - Specified by:
setIdin interfaceIFileLocator
-
setUrl
- Specified by:
setUrlin interfaceIFileLocator
-
getFileName
- Specified by:
getFileNamein interfaceIFileLocator
-
setFileName
- Specified by:
setFileNamein interfaceIFileLocator
-
isModified
public boolean isModified()- Specified by:
isModifiedin interfaceIFileLocator
-
setModified
public void setModified(boolean modified) - Specified by:
setModifiedin interfaceIFileLocator
-
getTmpPath
- Specified by:
getTmpPathin interfaceIFileLocator
-
setTmpPath
- Specified by:
setTmpPathin interfaceIFileLocator
-