Java Doc for InputFile.java in  » J2EE » ICEfaces-1.6.1 » com » icesoft » faces » component » inputfile » 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 » J2EE » ICEfaces 1.6.1 » com.icesoft.faces.component.inputfile 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.icesoft.faces.component.inputfile.InputFile

InputFile
public class InputFile extends UICommand implements Serializable,FileUploadComponent(Code)
InputFile is a JSF component class representing an ICEfaces inputFile.


Field Summary
final public static  intDEFAULT
    
final public static  StringFILE_UPLOAD_PREFIX
    
final public static  intINVALID
    
final public static  StringINVALID_FILE_MESSAGE_ID
    
final public static  intINVALID_NAME_PATTERN
    
final public static  StringINVALID_NAME_PATTERN_MESSAGE_ID
    
final public static  intSAVED
    
final public static  intSIZE_LIMIT_EXCEEDED
    
final public static  StringSIZE_LIMIT_EXCEEDED_MESSAGE_ID
    
final public static  intUNKNOWN_SIZE
    
final public static  StringUNKNOWN_SIZE_MESSAGE_ID
    
final public static  intUPLOADING
    


Method Summary
public  StringgetAccept()
    
public  StringgetAccesskey()
    
public  StringgetButtonClass()
    
public  StringgetComponentType()
    
public  StringgetCssFile()
    
public  StringgetEnabledOnUserRole()
    
public  StringgetFamily()
    
public  FilegetFile()
    

Return the value of the file property.

public  FileInfogetFileInfo()
    

Return the value of the fileInfo property.

public  StringgetFileNamePattern()
    
public  StringgetFilename()
    
public  longgetFilesize()
    
public  intgetHeight()
    
public  StringgetInputTextClass()
    
public  intgetInputTextSize()
    
public  StringgetLabel()
    

Return the value of the label property.

public  StringgetOnblur()
    
public  StringgetOnchange()
    
public  StringgetOnfocus()
    
public  intgetProgress()
    
public  MethodBindinggetProgressListener()
    
public  StringgetRenderedOnUserRole()
    
public  StringgetRendererType()
    
public  StringgetSize()
    
public  longgetSizeMax()
    
public  intgetStatus()
    
public  StringgetStyle()
    
public  StringgetStyleClass()
    
public  StringgetTabindex()
    
public  StringgetTitle()
    
public  StringgetUploadDirectory()
    
public  BooleangetUploadDirectoryAbsolute()
    
public  ThrowablegetUploadException()
    
public  intgetWidth()
    
public  booleanisDisabled()
    
 booleanisRegister()
    
public  booleanisRendered()
    
public  booleanisUniqueFolder()
    

Return the value of the uniqueFolder property.

protected  voidnotifyDone(BridgeFacesContext bfc)
    
public  voidrenderIFrame(Writer writer, BridgeFacesContext context)
    
public  voidrestoreState(FacesContext context, Object state)
    
public  ObjectsaveState(FacesContext context)
    
public  voidsetAccept(String accept)
    
public  voidsetAccesskey(String accesskey)
    
public  voidsetButtonClass(String buttonClass)
    
public  voidsetDisabled(boolean disabled)
    
public  voidsetEnabledOnUserRole(String enabledOnUserRole)
    
public  voidsetFile(File file)
    

Set the value of the file property.

 voidsetFileInfo(FileInfo fileInfo)
    
public  voidsetFileNamePattern(String fileNamePattern)
    
public  voidsetFilename(String filename)
    
public  voidsetFilesize(long filesize)
    
public  voidsetHeight(int height)
    
public  voidsetInputTextClass(String inputTextClass)
    
public  voidsetInputTextSize(int inputTextSize)
    
public  voidsetLabel(String label)
    

Set the value of the label property.

public  voidsetOnblur(String onblur)
    
public  voidsetOnchange(String onchange)
    
public  voidsetOnfocus(String onfocus)
    
public  voidsetProgress(int i)
    
public  voidsetProgressListener(MethodBinding binding)
    
public  voidsetRegister(FacesContext facesContext)
    
public  voidsetRenderedOnUserRole(String renderedOnUserRole)
    
public  voidsetSize(String size)
    
public  voidsetStyle(String style)
    
public  voidsetStyleClass(String styleClass)
    
public  voidsetTabindex(String tabindex)
    
public  voidsetTitle(String title)
    
public  voidsetUniqueFolder(boolean uniqueFolder)
    

Set the value of the uniqueFolder property.

public  voidsetUploadDirectory(String uploadDirectory)
    
public  voidsetUploadDirectoryAbsolute(Boolean uploadDirectoryAbsolute)
    
public  voidsetWidth(int width)
    
protected  voidupdateFileValueBinding(FacesContext context)
     In the 1.5.3 codebase, there was a writeable ValueBinding named "file" that would be updated when a new file was saved.
public  voidupload(FileItemStream stream, String uploadDirectory, boolean uploadDirectoryAbsolute, long maxSize, BridgeFacesContext bfc, ServletContext servletContext, String sessionId)
    

Field Detail
DEFAULT
final public static int DEFAULT(Code)



FILE_UPLOAD_PREFIX
final public static String FILE_UPLOAD_PREFIX(Code)



INVALID
final public static int INVALID(Code)



INVALID_FILE_MESSAGE_ID
final public static String INVALID_FILE_MESSAGE_ID(Code)



INVALID_NAME_PATTERN
final public static int INVALID_NAME_PATTERN(Code)



INVALID_NAME_PATTERN_MESSAGE_ID
final public static String INVALID_NAME_PATTERN_MESSAGE_ID(Code)



SAVED
final public static int SAVED(Code)



SIZE_LIMIT_EXCEEDED
final public static int SIZE_LIMIT_EXCEEDED(Code)



SIZE_LIMIT_EXCEEDED_MESSAGE_ID
final public static String SIZE_LIMIT_EXCEEDED_MESSAGE_ID(Code)



UNKNOWN_SIZE
final public static int UNKNOWN_SIZE(Code)



UNKNOWN_SIZE_MESSAGE_ID
final public static String UNKNOWN_SIZE_MESSAGE_ID(Code)



UPLOADING
final public static int UPLOADING(Code)





Method Detail
getAccept
public String getAccept()(Code)



getAccesskey
public String getAccesskey()(Code)



getButtonClass
public String getButtonClass()(Code)



getComponentType
public String getComponentType()(Code)

Return the value of the COMPONENT_TYPE of this component.




getCssFile
public String getCssFile()(Code)



getEnabledOnUserRole
public String getEnabledOnUserRole()(Code)

Return the value of the enabledOnUserRole property.




getFamily
public String getFamily()(Code)

Return the value of the COMPONENT_FAMILY of this component.




getFile
public File getFile()(Code)

Return the value of the file property.




getFileInfo
public FileInfo getFileInfo()(Code)

Return the value of the fileInfo property.




getFileNamePattern
public String getFileNamePattern()(Code)



getFilename
public String getFilename()(Code)

Return the value of the fileName property.




getFilesize
public long getFilesize()(Code)

Return the value of the size property.




getHeight
public int getHeight()(Code)



getInputTextClass
public String getInputTextClass()(Code)



getInputTextSize
public int getInputTextSize()(Code)



getLabel
public String getLabel()(Code)

Return the value of the label property.




getOnblur
public String getOnblur()(Code)



getOnchange
public String getOnchange()(Code)



getOnfocus
public String getOnfocus()(Code)



getProgress
public int getProgress()(Code)



getProgressListener
public MethodBinding getProgressListener()(Code)



getRenderedOnUserRole
public String getRenderedOnUserRole()(Code)

Return the value of the renderedOnUserRole property.




getRendererType
public String getRendererType()(Code)

Return the value of the RENDERER_TYPE of this component.




getSize
public String getSize()(Code)

Return the value of the size property.




getSizeMax
public long getSizeMax()(Code)



getStatus
public int getStatus()(Code)



getStyle
public String getStyle()(Code)

Return the value of the style property.




getStyleClass
public String getStyleClass()(Code)

Return the value of the styleClass property.




getTabindex
public String getTabindex()(Code)



getTitle
public String getTitle()(Code)

Return the value of the title property.




getUploadDirectory
public String getUploadDirectory()(Code)



getUploadDirectoryAbsolute
public Boolean getUploadDirectoryAbsolute()(Code)



getUploadException
public Throwable getUploadException()(Code)



getWidth
public int getWidth()(Code)



isDisabled
public boolean isDisabled()(Code)

Return the value of the disabled property.




isRegister
boolean isRegister()(Code)



isRendered
public boolean isRendered()(Code)

Return the value of the rendered property.




isUniqueFolder
public boolean isUniqueFolder()(Code)

Return the value of the uniqueFolder property.




notifyDone
protected void notifyDone(BridgeFacesContext bfc)(Code)



renderIFrame
public void renderIFrame(Writer writer, BridgeFacesContext context) throws IOException(Code)



restoreState
public void restoreState(FacesContext context, Object state)(Code)

Perform any processing required to restore the state from the entries in the state Object.




saveState
public Object saveState(FacesContext context)(Code)

Gets the state of the instance as a Serializable Object.




setAccept
public void setAccept(String accept)(Code)



setAccesskey
public void setAccesskey(String accesskey)(Code)



setButtonClass
public void setButtonClass(String buttonClass)(Code)



setDisabled
public void setDisabled(boolean disabled)(Code)

Set the value of the disabled property.




setEnabledOnUserRole
public void setEnabledOnUserRole(String enabledOnUserRole)(Code)

Set the value of the enabledOnUserRole property.




setFile
public void setFile(File file)(Code)

Set the value of the file property.




setFileInfo
void setFileInfo(FileInfo fileInfo)(Code)



setFileNamePattern
public void setFileNamePattern(String fileNamePattern)(Code)



setFilename
public void setFilename(String filename)(Code)

Set the value of the fileName property.




setFilesize
public void setFilesize(long filesize)(Code)

Set the value of the size property.




setHeight
public void setHeight(int height)(Code)



setInputTextClass
public void setInputTextClass(String inputTextClass)(Code)



setInputTextSize
public void setInputTextSize(int inputTextSize)(Code)



setLabel
public void setLabel(String label)(Code)

Set the value of the label property.




setOnblur
public void setOnblur(String onblur)(Code)



setOnchange
public void setOnchange(String onchange)(Code)



setOnfocus
public void setOnfocus(String onfocus)(Code)



setProgress
public void setProgress(int i)(Code)



setProgressListener
public void setProgressListener(MethodBinding binding)(Code)



setRegister
public void setRegister(FacesContext facesContext)(Code)



setRenderedOnUserRole
public void setRenderedOnUserRole(String renderedOnUserRole)(Code)

Set the value of the renderedOnUserRole property.




setSize
public void setSize(String size)(Code)

Set the value of the size property.




setStyle
public void setStyle(String style)(Code)

Set the value of the style property.




setStyleClass
public void setStyleClass(String styleClass)(Code)

Set the value of the styleClass property.




setTabindex
public void setTabindex(String tabindex)(Code)



setTitle
public void setTitle(String title)(Code)

Set the value of the title property.




setUniqueFolder
public void setUniqueFolder(boolean uniqueFolder)(Code)

Set the value of the uniqueFolder property.




setUploadDirectory
public void setUploadDirectory(String uploadDirectory)(Code)



setUploadDirectoryAbsolute
public void setUploadDirectoryAbsolute(Boolean uploadDirectoryAbsolute)(Code)



setWidth
public void setWidth(int width)(Code)



updateFileValueBinding
protected void updateFileValueBinding(FacesContext context)(Code)
In the 1.5.3 codebase, there was a writeable ValueBinding named "file" that would be updated when a new file was saved. This provides backwards compatibility with that.



upload
public void upload(FileItemStream stream, String uploadDirectory, boolean uploadDirectoryAbsolute, long maxSize, BridgeFacesContext bfc, ServletContext servletContext, String sessionId) throws IOException(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.