Class FlowInfoStorage
- java.lang.Object
-
- com.logicaldoc.enterprise.dropspot.FlowInfoStorage
-
public class FlowInfoStorage extends Object
The temporary collector of upload flows.- Since:
- 8.2.3
- Author:
- Marco Meschieri - LogicalDOC
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowInfo
get(int flowChunkSize, long flowTotalSize, String flowIdentifier, String flowFilename, String flowRelativePath, File localFile, String sid, long folderId, Locale locale)
Get FlowInfo from mMap or Create a new onestatic FlowInfoStorage
getInstance()
void
remove(FlowInfo info)
-
-
-
Method Detail
-
getInstance
public static FlowInfoStorage getInstance()
-
get
public FlowInfo get(int flowChunkSize, long flowTotalSize, String flowIdentifier, String flowFilename, String flowRelativePath, File localFile, String sid, long folderId, Locale locale)
Get FlowInfo from mMap or Create a new one- Parameters:
flowChunkSize
- size of the chunk in bytesflowTotalSize
- total size of the flow in bytesflowIdentifier
- identifier of the flowflowFilename
- file nameflowRelativePath
- relative path of the flowlocalFile
- the local filesid
- identifier of the sessionfolderId
- identifier of the folderlocale
- the locale to use- Returns:
- object representation of the flow
-
remove
public void remove(FlowInfo info)
-
-