Java Doc for ZipFileSet.java in  » Test-Coverage » GroboUtils » net » sourceforge » groboutils » codecoverage » v2 » ant » zip » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Test Coverage » GroboUtils » net.sourceforge.groboutils.codecoverage.v2.ant.zip 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sourceforge.groboutils.codecoverage.v2.ant.zip.ZipFileSet

ZipFileSet
public class ZipFileSet extends FileSet (Code)
A ZipFileSet is a FileSet with extra attributes useful in the context of Zip/Jar tasks. A ZipFileSet extends FileSets with the ability to extract a subset of the entries of a Zip file for inclusion in another Zip file. It also includes a prefix attribute which is prepended to each entry in the output Zip file. Since ant 1.6 ZipFileSet can be defined with an id and referenced in packaging tasks
author:
   Don Ferguson don@bea.com
author:
   Antoine Levy-Lambert


Field Summary
final public static  intDEFAULT_DIR_MODE
     Default value for the dirmode attribute.
final public static  intDEFAULT_FILE_MODE
     Default value for the filemode attribute.

Constructor Summary
public  ZipFileSet()
    
protected  ZipFileSet(FileSet fileset)
    
protected  ZipFileSet(ZipFileSet fileset)
    

Method Summary
public  Objectclone()
     Return a ZipFileSet that has the same properties as this one.
public  intgetDirMode(Project p)
    
public  DirectoryScannergetDirectoryScanner(Project p)
     Return the DirectoryScanner associated with this FileSet.
public  intgetFileMode(Project p)
    
public  StringgetFullpath(Project p)
     Return the full pathname of the single entry in this fileset.
public  StringgetPrefix(Project p)
     Return the prefix prepended to entries in the zip file.
protected  AbstractFileSetgetRef(Project p)
    
public  ReferencegetRefid()
    
public  FilegetSrc(Project p)
     Get the zip file from which entries will be extracted.
public  booleanhasDirModeBeenSet()
     Whether the user has specified the mode explicitly.
public  booleanhasFileModeBeenSet()
     Whether the user has specified the mode explicitly.
public  booleanisChecked()
    
public  voidsetDir(File dir)
     Set the directory for the fileset.
public  voidsetDirMode(String octalString)
    
public  voidsetFileMode(String octalString)
    
public  voidsetFullpath(String fullpath)
     Set the full pathname of the single entry in this fileset.
public  voidsetPrefix(String prefix)
     Prepend this prefix to the path for each zip entry.
public  voidsetSrc(File srcFile)
     Set the source Zip file for the zipfileset.

Field Detail
DEFAULT_DIR_MODE
final public static int DEFAULT_DIR_MODE(Code)
Default value for the dirmode attribute.
since:
   Ant 1.5.2



DEFAULT_FILE_MODE
final public static int DEFAULT_FILE_MODE(Code)
Default value for the filemode attribute.
since:
   Ant 1.5.2




Constructor Detail
ZipFileSet
public ZipFileSet()(Code)



ZipFileSet
protected ZipFileSet(FileSet fileset)(Code)



ZipFileSet
protected ZipFileSet(ZipFileSet fileset)(Code)




Method Detail
clone
public Object clone()(Code)
Return a ZipFileSet that has the same properties as this one.
since:
   Ant 1.6



getDirMode
public int getDirMode(Project p)(Code)

since:
   Ant 1.5.2



getDirectoryScanner
public DirectoryScanner getDirectoryScanner(Project p)(Code)
Return the DirectoryScanner associated with this FileSet. If the ZipFileSet defines a source Zip file, then a ZipScanner is returned instead.



getFileMode
public int getFileMode(Project p)(Code)

since:
   Ant 1.5.2



getFullpath
public String getFullpath(Project p)(Code)
Return the full pathname of the single entry in this fileset.



getPrefix
public String getPrefix(Project p)(Code)
Return the prefix prepended to entries in the zip file.



getRef
protected AbstractFileSet getRef(Project p)(Code)
A ZipFileset accepts another ZipFileSet or a FileSet as reference FileSets are often used by the war task for the lib attribute



getRefid
public Reference getRefid()(Code)



getSrc
public File getSrc(Project p)(Code)
Get the zip file from which entries will be extracted. References are not followed, since it is not possible to have a reference to a ZipFileSet, only to a FileSet.



hasDirModeBeenSet
public boolean hasDirModeBeenSet()(Code)
Whether the user has specified the mode explicitly.
since:
   Ant 1.6



hasFileModeBeenSet
public boolean hasFileModeBeenSet()(Code)
Whether the user has specified the mode explicitly.
since:
   Ant 1.6



isChecked
public boolean isChecked()(Code)



setDir
public void setDir(File dir) throws BuildException(Code)
Set the directory for the fileset. Prevents both "dir" and "src" from being specified.



setDirMode
public void setDirMode(String octalString)(Code)
A 3 digit octal string, specify the user, group and other modes in the standard Unix fashion; optional, default=0755
since:
   Ant 1.5.2



setFileMode
public void setFileMode(String octalString)(Code)
A 3 digit octal string, specify the user, group and other modes in the standard Unix fashion; optional, default=0644
since:
   Ant 1.5.2



setFullpath
public void setFullpath(String fullpath)(Code)
Set the full pathname of the single entry in this fileset. Prevents both prefix and fullpath from being specified
Parameters:
  fullpath - the full pathname of the single entry in this fileset.



setPrefix
public void setPrefix(String prefix)(Code)
Prepend this prefix to the path for each zip entry. Prevents both prefix and fullpath from being specified
Parameters:
  prefix - The prefix to prepend to entries in the zip file.



setSrc
public void setSrc(File srcFile)(Code)
Set the source Zip file for the zipfileset. Prevents both "dir" and "src" from being specified.
Parameters:
  srcFile - The zip file from which to extract entries.



w__w___w___._j___av__a___2___s__.c___o__m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.