public class FileUpload extends WebControl
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Web.UI.WebControls.FileUpload
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Web
|
static java.lang.String |
className
Qualified class name: System.Web.UI.WebControls.FileUpload
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FileUpload() |
FileUpload(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static FileUpload |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into FileUpload, a cast assert is made to check if types are compatible. |
boolean |
getAllowMultiple() |
byte[] |
getFileBytes() |
Stream |
getFileContent() |
java.lang.String |
getFileName() |
boolean |
getHasFile() |
boolean |
getHasFiles() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
HttpPostedFile |
getPostedFile() |
IList_1 |
getPostedFiles() |
void |
SaveAs(java.lang.String filename) |
void |
setAllowMultiple(boolean AllowMultiple) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
ApplyStyle, CopyBaseAttributes, getAccessKey, getAttributes, getBackColor, getBorderColor, getBorderStyle, getBorderWidth, getControlStyle, getControlStyleCreated, getCssClass, getDisabledCssClass, getEnabled, getFont, getForeColor, getHasAttributes, getHeight, getStyle, getSupportsDisabledAttribute, getTabIndex, getToolTip, getWidth, MergeStyle, RenderBeginTag, RenderEndTag, setAccessKey, setBackColor, setBorderColor, setBorderStyle, setBorderWidth, setCssClass, setDisabledCssClass, setEnabled, setForeColor, setHeight, setTabIndex, setToolTip, setWidthaddDataBinding, addDisposed, addInit, addLoad, addPreRender, addUnload, ApplyStyleSheetSkin, close, DataBind, Dispose, FindControl, Focus, getAppRelativeTemplateSourceDirectory, getBindingContainer, getClientID, getClientIDMode, getControls, getDataItemContainer, getDataKeysContainer, getEnableTheming, getEnableViewState, getID, getNamingContainer, getPage, getParent, getRenderingCompatibility, GetRouteUrl, GetRouteUrl, GetRouteUrl, GetRouteUrl, getSite, getSkinID, getTemplateControl, getTemplateSourceDirectory, getUniqueID, GetUniqueIDRelativeTo, getValidateRequestMode, getViewStateMode, getVisible, HasControls, removeDataBinding, removeDisposed, removeInit, removeLoad, removePreRender, removeUnload, RenderControl, ResolveClientUrl, ResolveUrl, setAppRelativeTemplateSourceDirectory, setClientIDMode, setEnableTheming, setEnableViewState, setID, setPage, setRenderingCompatibility, SetRenderMethodDelegate, setSite, setSkinID, setTemplateControl, SetTraceData, SetTraceData, setValidateRequestMode, setViewStateMode, setVisiblepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic FileUpload()
throws java.lang.Throwable
java.lang.Throwablepublic FileUpload(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static FileUpload cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FileUpload, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFileUpload instancejava.lang.Throwable - in case of error during cast operationpublic boolean getAllowMultiple()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException
public byte[] getFileBytes()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
HttpException,
ArgumentOutOfRangeException,
ConfigurationErrorsException,
NotSupportedException,
HttpRequestValidationException
public Stream getFileContent() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, ConfigurationErrorsException, ConfigurationException, OverflowException, NullReferenceException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionConfigurationErrorsExceptionConfigurationExceptionOverflowExceptionNullReferenceExceptionNotSupportedExceptionpublic java.lang.String getFileName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
HttpException,
ConfigurationErrorsException,
ConfigurationException,
OverflowException,
NullReferenceException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionConfigurationErrorsExceptionConfigurationExceptionOverflowExceptionNullReferenceExceptionNotSupportedExceptionpublic boolean getHasFile()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
HttpException,
ConfigurationErrorsException,
ConfigurationException,
OverflowException,
NullReferenceException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionConfigurationErrorsExceptionConfigurationExceptionOverflowExceptionNullReferenceExceptionNotSupportedExceptionpublic boolean getHasFiles()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
HttpException,
ConfigurationErrorsException,
ConfigurationException,
OverflowException,
NullReferenceException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionConfigurationErrorsExceptionConfigurationExceptionOverflowExceptionNullReferenceExceptionNotSupportedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class WebControlString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class WebControlString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class WebControlObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class WebControlString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class WebControlJCType representing the CLR Type of the instantiated Classpublic HttpPostedFile getPostedFile() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, HttpException, IndexOutOfRangeException, FormatException, OverflowException, ConfigurationErrorsException, NotSupportedException, NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionHttpExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionConfigurationErrorsExceptionNotSupportedExceptionNullReferenceExceptionpublic IList_1 getPostedFiles() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, HttpException, IndexOutOfRangeException, FormatException, OverflowException, ConfigurationErrorsException, NotSupportedException, NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionHttpExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionConfigurationErrorsExceptionNotSupportedExceptionNullReferenceExceptionpublic void SaveAs(java.lang.String filename)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
HttpException,
ConfigurationErrorsException,
ConfigurationException,
OverflowException,
NullReferenceException,
NotSupportedException,
PathTooLongException,
IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionConfigurationErrorsExceptionConfigurationExceptionOverflowExceptionNullReferenceExceptionNotSupportedExceptionPathTooLongExceptionIOExceptionpublic void setAllowMultiple(boolean AllowMultiple)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class WebControl