BrightSide Workbench Full Report + Source Code
All Classes Namespaces Files Functions Variables Pages
org.turro.attach.version.AttachmentData Class Reference

Public Member Functions

 AttachmentData (AttachVersionSet set)
 
long getSize ()
 
long getVersionedSize ()
 

Detailed Description

Author
Lluis Turró Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 26 of file AttachmentData.java.

Constructor & Destructor Documentation

◆ AttachmentData()

org.turro.attach.version.AttachmentData.AttachmentData ( AttachVersionSet  set)

Definition at line 30 of file AttachmentData.java.

30  {
31  size = -1;
32  versionedSize = 0;
33  for(Attachment a : set) {
34  versionedSize += a.getFileSize();
35  if(size < 0) {
36  size = versionedSize;
37  }
38  }
39  }
Here is the call graph for this function:

Member Function Documentation

◆ getSize()

long org.turro.attach.version.AttachmentData.getSize ( )

Definition at line 41 of file AttachmentData.java.

41  {
42  return size;
43  }

◆ getVersionedSize()

long org.turro.attach.version.AttachmentData.getVersionedSize ( )

Definition at line 45 of file AttachmentData.java.

45  {
46  return versionedSize;
47  }

The documentation for this class was generated from the following file: