Java Doc for OldRollerConfig.java in  » Blogger-System » apache-roller-3.1 » org » apache » roller » util » 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 » Blogger System » apache roller 3.1 » org.apache.roller.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.roller.util.OldRollerConfig

OldRollerConfig
public class OldRollerConfig implements java.io.Serializable(Code)
Configuration object for Roller. Reads and writes roller-config.xml. This file is a relic of the old days, back when we used to store the Roller configuration in an XML file. In Roller 0.9.9 and later, this file only exists to allow use to read only roller-config.xml files on startup and copy them into the database.


Field Summary
protected  StringmAbsoluteURL
     Absolute URL for site, for cases where infered absolute URL doesn't work.
protected  ListmAdminUsers
     List of usernames with Admin priviledges.
protected  StringmAlgorithm
    
protected  booleanmAutoformatComments
     Determines if the Comment page will "autoformat" comments.
protected  ListmEditorPages
     List of "editor pages" for the Weblog entry editor.
protected  StringmEmailAddress
    
protected  booleanmEmailComments
     Determines if e-mailing comments is enabled.
protected  booleanmEnableAggregator
     Dis/enble RSS aggregation capabilities.
protected  booleanmEnableLinkback
     Enable linkback extraction.
protected  booleanmEncryptPasswords
    
protected  booleanmEscapeCommentHtml
     Determines if the Comment page will escape html in comments.
protected  StringmIndexDir
    
protected  booleanmMemDebug
    
protected  booleanmNewUserAllowed
     Does Roller allow the creation of new users.
protected  StringmNewUserData
     Where to get data for creating new users (new-user.xml).
protected  StringmNewUserThemes
     Where to get Themes presented to new users.
protected  intmRssCacheTime
     Duration to cache RSS pages (in seconds).
protected  booleanmRssUseCache
     Should Roller cache return RSS pages.
protected  StringmSiteDescription
    
protected  StringmSiteName
    
protected  ListmUploadAllow
     List of permitted file extensions (not including the "dot").
protected  StringmUploadDir
     Directory where uploaded files will be stored.
protected  booleanmUploadEnabled
     Are file uploads enabled.
protected  ListmUploadForbid
     List of forbidden file extensions (not including the "dot").
protected  FloatmUploadMaxDirMB
     The maximum size of each user's upload directory.
protected  FloatmUploadMaxFileMB
     The maximum size allowed per uploaded file.
final static  longserialVersionUID
    
protected  StringuploadPath
     The path from which the webserver will serve upload files.

Constructor Summary
public  OldRollerConfig()
    
public  OldRollerConfig(RollerConfigData rConfig)
    

Method Summary
public  voidaddAdminUsers(String ignore)
    
public  voidaddEditorPages(String ignore)
    
public  voidaddUploadAllow(String ignore)
    
public  voidaddUploadForbid(String ignore)
    
public  String[]adminUsersArray()
     Convenience method for getAdminUsers.
public  String[]editorPagesArray()
     Convenience method for getEditorPages.
public  StringgetAbsoluteURL()
    
public  ListgetAdminUsers()
    
public  StringgetAlgorithm()
    
public  booleangetAutoformatComments()
    
public  ListgetEditorPages()
    
public  StringgetEmailAddress()
    
public  booleangetEmailComments()
    
public  booleangetEnableAggregator()
    
public  booleangetEncryptPasswords()
    
public  booleangetEscapeCommentHtml()
    
public  StringgetIndexDir()
    
public  booleangetMemDebug()
    
public  booleangetNewUserAllowed()
    
public  StringgetNewUserData()
    
public  StringgetNewUserThemes()
    
public  intgetRssCacheTime()
    
public  booleangetRssUseCache()
    
public  StringgetSiteDescription()
    
public  StringgetSiteName()
    
public  ListgetUploadAllow()
    
public  StringgetUploadDir()
    
public  booleangetUploadEnabled()
    
public  ListgetUploadForbid()
    
public  FloatgetUploadMaxDirMB()
    
public  FloatgetUploadMaxFileMB()
    
public  StringgetUploadPath()
    
public  booleanisEnableLinkback()
     Enable linkback.
public static  voidmain(String[] args)
    
public static  OldRollerConfigreadConfig(String path)
     Read the RollerConfig from a file, as specified by a String path.
public static  OldRollerConfigreadConfig(InputStream in)
     Read the RollerConfig from a file, as specified by an InputStream.
public  voidsetAbsoluteURL(String string)
    
public  voidsetAdminUsers(List _adminUsers)
    
public  voidsetAlgorithm(String algorithm)
    
public  voidsetAutoformatComments(boolean value)
    
public  voidsetEditorPages(List _editorPages)
    
public  voidsetEmailAddress(String emailAddress)
    
public  voidsetEmailComments(boolean emailComments)
     Sets the emailComments.
public  voidsetEnableAggregator(boolean use)
    
public  voidsetEnableLinkback(boolean b)
     Enable linkback.
public  voidsetEncryptPasswords(boolean use)
    
public  voidsetEscapeCommentHtml(boolean value)
    
public  voidsetIndexDir(String indexDir)
    
public  voidsetMemDebug(boolean memDebug)
     Set memory debugging on or off.
public  voidsetNewUserAllowed(boolean use)
    
public  voidsetNewUserData(String str)
    
public  voidsetNewUserThemes(String str)
    
public  voidsetRssCacheTime(int cacheTime)
    
public  voidsetRssUseCache(boolean use)
    
public  voidsetSiteDescription(String string)
    
public  voidsetSiteName(String string)
    
public  voidsetUploadAllow(List _uploadAllow)
    
public  voidsetUploadDir(String str)
    
public  voidsetUploadEnabled(boolean use)
    
public  voidsetUploadForbid(List _uploadForbid)
    
public  voidsetUploadMaxDirMB(Float use)
    
public  voidsetUploadMaxFileMB(Float use)
    
public  voidsetUploadPath(String str)
    
public  StringtoString()
    
public  voidupdateValues(OldRollerConfig child)
    
public  String[]uploadAllowArray()
     Convenience method for getUploadAllow.
public  String[]uploadForbidArray()
     Convenience method for getUploadForbid.
public  voidwriteConfig(String path)
     Write RollerConfig to file, as specified by a String path.
public  voidwriteConfig(OutputStream out)
     Write RollerConfig to file, as specified by an OutputStream.

Field Detail
mAbsoluteURL
protected String mAbsoluteURL(Code)
Absolute URL for site, for cases where infered absolute URL doesn't work.



mAdminUsers
protected List mAdminUsers(Code)
List of usernames with Admin priviledges.



mAlgorithm
protected String mAlgorithm(Code)
Algorithm for encrypting passwords



mAutoformatComments
protected boolean mAutoformatComments(Code)
Determines if the Comment page will "autoformat" comments. That is, replace carriage-returns with
.



mEditorPages
protected List mEditorPages(Code)
List of "editor pages" for the Weblog entry editor.



mEmailAddress
protected String mEmailAddress(Code)
Site administrator's email address



mEmailComments
protected boolean mEmailComments(Code)
Determines if e-mailing comments is enabled.



mEnableAggregator
protected boolean mEnableAggregator(Code)
Dis/enble RSS aggregation capabilities.



mEnableLinkback
protected boolean mEnableLinkback(Code)
Enable linkback extraction.



mEncryptPasswords
protected boolean mEncryptPasswords(Code)
Flag for encrypting passwords



mEscapeCommentHtml
protected boolean mEscapeCommentHtml(Code)
Determines if the Comment page will escape html in comments.



mIndexDir
protected String mIndexDir(Code)
Lucene index directory



mMemDebug
protected boolean mMemDebug(Code)



mNewUserAllowed
protected boolean mNewUserAllowed(Code)
Does Roller allow the creation of new users.



mNewUserData
protected String mNewUserData(Code)
Where to get data for creating new users (new-user.xml).



mNewUserThemes
protected String mNewUserThemes(Code)
Where to get Themes presented to new users.



mRssCacheTime
protected int mRssCacheTime(Code)
Duration to cache RSS pages (in seconds).



mRssUseCache
protected boolean mRssUseCache(Code)
Should Roller cache return RSS pages.



mSiteDescription
protected String mSiteDescription(Code)
Description of this site



mSiteName
protected String mSiteName(Code)
Name of this site



mUploadAllow
protected List mUploadAllow(Code)
List of permitted file extensions (not including the "dot"). This attribute is mutually exclusive with uploadForbid.



mUploadDir
protected String mUploadDir(Code)
Directory where uploaded files will be stored. May end with a slash. Optional, this value will default to RollerContext.USER_RESOURCES. If specified, should be a full path on the system harddrive or relative to the WebApp.



mUploadEnabled
protected boolean mUploadEnabled(Code)
Are file uploads enabled.



mUploadForbid
protected List mUploadForbid(Code)
List of forbidden file extensions (not including the "dot"). This attribute is mutually exclusive with uploadAllow.



mUploadMaxDirMB
protected Float mUploadMaxDirMB(Code)
The maximum size of each user's upload directory.



mUploadMaxFileMB
protected Float mUploadMaxFileMB(Code)
The maximum size allowed per uploaded file.



serialVersionUID
final static long serialVersionUID(Code)



uploadPath
protected String uploadPath(Code)
The path from which the webserver will serve upload files. This values must not end in a slash.




Constructor Detail
OldRollerConfig
public OldRollerConfig()(Code)



OldRollerConfig
public OldRollerConfig(RollerConfigData rConfig)(Code)




Method Detail
addAdminUsers
public void addAdminUsers(String ignore)(Code)

Parameters:
  ignore -



addEditorPages
public void addEditorPages(String ignore)(Code)

Parameters:
  ignore -



addUploadAllow
public void addUploadAllow(String ignore)(Code)

Parameters:
  ignore -



addUploadForbid
public void addUploadForbid(String ignore)(Code)

Parameters:
  ignore -



adminUsersArray
public String[] adminUsersArray()(Code)
Convenience method for getAdminUsers.



editorPagesArray
public String[] editorPagesArray()(Code)
Convenience method for getEditorPages.



getAbsoluteURL
public String getAbsoluteURL()(Code)



getAdminUsers
public List getAdminUsers()(Code)



getAlgorithm
public String getAlgorithm()(Code)
the algorithm for encrypting passwords



getAutoformatComments
public boolean getAutoformatComments()(Code)



getEditorPages
public List getEditorPages()(Code)



getEmailAddress
public String getEmailAddress()(Code)



getEmailComments
public boolean getEmailComments()(Code)
boolean



getEnableAggregator
public boolean getEnableAggregator()(Code)



getEncryptPasswords
public boolean getEncryptPasswords()(Code)



getEscapeCommentHtml
public boolean getEscapeCommentHtml()(Code)



getIndexDir
public String getIndexDir()(Code)
the index directory



getMemDebug
public boolean getMemDebug()(Code)



getNewUserAllowed
public boolean getNewUserAllowed()(Code)



getNewUserData
public String getNewUserData()(Code)



getNewUserThemes
public String getNewUserThemes()(Code)



getRssCacheTime
public int getRssCacheTime()(Code)



getRssUseCache
public boolean getRssUseCache()(Code)



getSiteDescription
public String getSiteDescription()(Code)



getSiteName
public String getSiteName()(Code)



getUploadAllow
public List getUploadAllow()(Code)



getUploadDir
public String getUploadDir()(Code)



getUploadEnabled
public boolean getUploadEnabled()(Code)



getUploadForbid
public List getUploadForbid()(Code)



getUploadMaxDirMB
public Float getUploadMaxDirMB()(Code)



getUploadMaxFileMB
public Float getUploadMaxFileMB()(Code)



getUploadPath
public String getUploadPath()(Code)



isEnableLinkback
public boolean isEnableLinkback()(Code)
Enable linkback.



main
public static void main(String[] args)(Code)
test stuff
Parameters:
  args -



readConfig
public static OldRollerConfig readConfig(String path)(Code)
Read the RollerConfig from a file, as specified by a String path.
Parameters:
  path -



readConfig
public static OldRollerConfig readConfig(InputStream in)(Code)
Read the RollerConfig from a file, as specified by an InputStream.
Parameters:
  in -
throws:
  RuntimeException -



setAbsoluteURL
public void setAbsoluteURL(String string)(Code)



setAdminUsers
public void setAdminUsers(List _adminUsers)(Code)

Parameters:
  _adminUsers -



setAlgorithm
public void setAlgorithm(String algorithm)(Code)
algorithm, the new algorithm



setAutoformatComments
public void setAutoformatComments(boolean value)(Code)

Parameters:
  value -



setEditorPages
public void setEditorPages(List _editorPages)(Code)

Parameters:
  _editorPages -



setEmailAddress
public void setEmailAddress(String emailAddress)(Code)

Parameters:
  emailAddress -



setEmailComments
public void setEmailComments(boolean emailComments)(Code)
Sets the emailComments.
Parameters:
  emailComments - The emailComments to set



setEnableAggregator
public void setEnableAggregator(boolean use)(Code)



setEnableLinkback
public void setEnableLinkback(boolean b)(Code)
Enable linkback.
Parameters:
  b -



setEncryptPasswords
public void setEncryptPasswords(boolean use)(Code)



setEscapeCommentHtml
public void setEscapeCommentHtml(boolean value)(Code)

Parameters:
  value -



setIndexDir
public void setIndexDir(String indexDir)(Code)

Parameters:
  indexDir - new index directory



setMemDebug
public void setMemDebug(boolean memDebug)(Code)
Set memory debugging on or off.
Parameters:
  memDebug - The mMemDebug to set



setNewUserAllowed
public void setNewUserAllowed(boolean use)(Code)



setNewUserData
public void setNewUserData(String str)(Code)

Parameters:
  str -



setNewUserThemes
public void setNewUserThemes(String str)(Code)

Parameters:
  str -



setRssCacheTime
public void setRssCacheTime(int cacheTime)(Code)



setRssUseCache
public void setRssUseCache(boolean use)(Code)



setSiteDescription
public void setSiteDescription(String string)(Code)

Parameters:
  string -



setSiteName
public void setSiteName(String string)(Code)

Parameters:
  string -



setUploadAllow
public void setUploadAllow(List _uploadAllow)(Code)

Parameters:
  _uploadAllow -



setUploadDir
public void setUploadDir(String str)(Code)

Parameters:
  str -



setUploadEnabled
public void setUploadEnabled(boolean use)(Code)



setUploadForbid
public void setUploadForbid(List _uploadForbid)(Code)

Parameters:
  _uploadForbid -



setUploadMaxDirMB
public void setUploadMaxDirMB(Float use)(Code)



setUploadMaxFileMB
public void setUploadMaxFileMB(Float use)(Code)



setUploadPath
public void setUploadPath(String str)(Code)

Parameters:
  str -



toString
public String toString()(Code)
nice output for debugging



updateValues
public void updateValues(OldRollerConfig child)(Code)



uploadAllowArray
public String[] uploadAllowArray()(Code)
Convenience method for getUploadAllow.



uploadForbidArray
public String[] uploadForbidArray()(Code)
Convenience method for getUploadForbid.



writeConfig
public void writeConfig(String path) throws RollerException(Code)
Write RollerConfig to file, as specified by a String path.
Parameters:
  path -
throws:
  RollerException -



writeConfig
public void writeConfig(OutputStream out) throws RollerException(Code)
Write RollerConfig to file, as specified by an OutputStream.
Parameters:
  out -
throws:
  RollerException -



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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