Java Doc for L10nTask.java in  » IDE-Netbeans » nbbuild » org » netbeans » nbbuild » 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 » IDE Netbeans » nbbuild » org.netbeans.nbbuild 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.nbbuild.L10nTask

L10nTask
public class L10nTask extends MatchingTask (Code)
This task was created to create L10N kits. The xml to call this task might look like: Each resulting kit will be a tar file containing one directory for each repository examined. Each repository_directory will contain one tar-file for each module with changed localizable files. The structure of the tar file is as follows: repository_dir/ module_tar/ generatedFile contentFile localizableFile1.html localizableFile2.gif... 1. All localizable files (as defined in "localizableFile") "localizableFile" is a list of file patterns difining all localizable source files. "localizableFile" itself is not included in the kit. 2. A content file (as named in "contentFile") This is a list of the names of all localizable files which need to be (re)localized. 3. A generated file (as named in "generatedFile") This is a list of the names of all localizable files with the most recent CVS revision number. The generated file need not be committed to cvs until the files come back localized. (This is a change from the procedure followed in late 2001). As of version 1.1.2, converted Gzip methods to use ant 1.4.1, and added ability to 1) embed exclude patterns in the l10n.list file (must use keyword "exclude " followed by the pattern.) 2) add ability to embed reading of additional files (must use the keyword "read " followed by the path to the file) The special case "read global" will read the file set by the property globalFile 3) add the ability to embed properties in the patterns. i The special case "l10n-module" property will be set from within L10nTask
author:
   Erica Grevemeyer
version:
   1.1, Feb 4 11:21:09 PST 2002
version:
   1.1.2 Aug 29 15:23:51 PDT 2002


Field Summary
static  booleanDEBUG
    
 booleancont
    
 String[]localizableFiles
    


Method Summary
public  voidexecute()
    
public  voidexecuteLocalTarget(File topRoot, String module, String target)
    
public  Hashtable<String, String>getGeneratedFiles(File topDir, String mod)
    
public  String[]getLocalizableFiles(File topRoot, String module)
    
public  voidmkTars(String srcDir, String fullTarfilePath, String fullIncludesFilePath, String module)
    
public  booleanprintToAllFile(String fullTopDir, String module, String[] localizables)
    
public  booleanprintToFile(String fullTopDir, String module)
    
public  StringBuffer[]processListFile(File topRoot, File inc, String module)
    
public  voidsetBuildDir(String s)
    
public  voidsetBuildNumber(String s)
    
public  voidsetChangedFile(String s)
    
public  voidsetDebug(boolean s)
    
public  voidsetDistDir(String s)
    
public  voidsetExcludePattern(String s)
    
public  voidsetGeneratedFile(String s)
    
public  voidsetGlobalFile(String s)
    
public  voidsetIncludePattern(String s)
    
public  voidsetLocalizableFile(String s)
    
public  voidsetModules(String s)
    
public  voidsetTopdirs(String s)
    

Field Detail
DEBUG
static boolean DEBUG(Code)



cont
boolean cont(Code)



localizableFiles
String[] localizableFiles(Code)





Method Detail
execute
public void execute() throws BuildException(Code)



executeLocalTarget
public void executeLocalTarget(File topRoot, String module, String target) throws BuildException(Code)



getGeneratedFiles
public Hashtable<String, String> getGeneratedFiles(File topDir, String mod)(Code)



getLocalizableFiles
public String[] getLocalizableFiles(File topRoot, String module)(Code)
You can use this function independently of "execute()", but you have to set these attributes: localizableFile, globalFile (if "read global" is used in any l10n.list files), excludePattern (if desired), includePattern (if desired)
Parameters:
  topRoot -
Parameters:
  module - String[]



mkTars
public void mkTars(String srcDir, String fullTarfilePath, String fullIncludesFilePath, String module)(Code)



printToAllFile
public boolean printToAllFile(String fullTopDir, String module, String[] localizables)(Code)
Prints list of all localizable files found in respective module
Parameters:
  fullTopDir - - filesystem path to root of you working repository
Parameters:
  module - - directory path name for which this call is being done
Parameters:
  localizables - - list of localizable files true if file i/o operations were successful



printToFile
public boolean printToFile(String fullTopDir, String module)(Code)



processListFile
public StringBuffer[] processListFile(File topRoot, File inc, String module) throws IOException, BuildException(Code)



setBuildDir
public void setBuildDir(String s)(Code)



setBuildNumber
public void setBuildNumber(String s)(Code)



setChangedFile
public void setChangedFile(String s)(Code)



setDebug
public void setDebug(boolean s)(Code)



setDistDir
public void setDistDir(String s)(Code)



setExcludePattern
public void setExcludePattern(String s)(Code)



setGeneratedFile
public void setGeneratedFile(String s)(Code)



setGlobalFile
public void setGlobalFile(String s)(Code)



setIncludePattern
public void setIncludePattern(String s)(Code)



setLocalizableFile
public void setLocalizableFile(String s)(Code)



setModules
public void setModules(String s)(Code)



setTopdirs
public void setTopdirs(String s)(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.