//\r
// The attribute of compressName.\r
//\r
- String compressName = "";\r
+ private String compressName = "";\r
//\r
// The list contained the SectFile element.\r
//\r
- List<Object> SectList = new ArrayList<Object>();\r
+ private List<Section> sectList = new ArrayList<Section>();\r
\r
public static Object semaphore = new Object();\r
- \r
/**\r
toBuffer\r
\r
// Get each section which under the compress {};\r
// And add it is contains to File;\r
//\r
- Iterator SectionIter = SectList.iterator();\r
+ Iterator SectionIter = sectList.iterator();\r
while (SectionIter.hasNext()){\r
sect = (Section)SectionIter.next();\r
\r
}\r
Do.close(); \r
\r
- \r
synchronized (semaphore) {\r
//\r
// Call compress\r
@param sectFile SectFile element which succeed from section class.\r
**/\r
public void addSectFile (SectFile sectFile) {\r
- SectList.add(sectFile);\r
+ sectList.add(sectFile);\r
\r
} \r
\r
@param tool Tool element which succeed from section class.\r
**/\r
public void addTool (Tool tool) {\r
- SectList.add(tool);\r
+ sectList.add(tool);\r
}\r
}
\ No newline at end of file