亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? fileitem.java

?? apache commons-fileupload-1.2.jar
?? JAVA
字號:
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.  See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License.  You may obtain a copy of the License at * *      http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */package org.apache.commons.fileupload;import java.io.File;import java.io.IOException;import java.io.InputStream;import java.io.OutputStream;import java.io.Serializable;import java.io.UnsupportedEncodingException;/** * <p> This class represents a file or form item that was received within a * <code>multipart/form-data</code> POST request. * * <p> After retrieving an instance of this class from a {@link * org.apache.commons.fileupload.FileUpload FileUpload} instance (see * {@link org.apache.commons.fileupload.FileUpload * #parseRequest(javax.servlet.http.HttpServletRequest)}), you may * either request all contents of the file at once using {@link #get()} or * request an {@link java.io.InputStream InputStream} with * {@link #getInputStream()} and process the file without attempting to load * it into memory, which may come handy with large files. * * <p> While this interface does not extend * <code>javax.activation.DataSource</code> per se (to avoid a seldom used * dependency), several of the defined methods are specifically defined with * the same signatures as methods in that interface. This allows an * implementation of this interface to also implement * <code>javax.activation.DataSource</code> with minimal additional work. * * @author <a href="mailto:Rafal.Krzewski@e-point.pl">Rafal Krzewski</a> * @author <a href="mailto:sean@informage.net">Sean Legassick</a> * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a> * @author <a href="mailto:martinc@apache.org">Martin Cooper</a> * * @version $Id: FileItem.java 479262 2006-11-26 03:09:24Z niallp $ */public interface FileItem    extends Serializable {    // ------------------------------- Methods from javax.activation.DataSource    /**     * Returns an {@link java.io.InputStream InputStream} that can be     * used to retrieve the contents of the file.     *     * @return An {@link java.io.InputStream InputStream} that can be     *         used to retrieve the contents of the file.     *     * @throws IOException if an error occurs.     */    InputStream getInputStream()        throws IOException;    /**     * Returns the content type passed by the browser or <code>null</code> if     * not defined.     *     * @return The content type passed by the browser or <code>null</code> if     *         not defined.     */    String getContentType();    /**     * Returns the original filename in the client's filesystem, as provided by     * the browser (or other client software). In most cases, this will be the     * base file name, without path information. However, some clients, such as     * the Opera browser, do include path information.     *     * @return The original filename in the client's filesystem.     */    String getName();    // ------------------------------------------------------- FileItem methods    /**     * Provides a hint as to whether or not the file contents will be read     * from memory.     *     * @return <code>true</code> if the file contents will be read from memory;     *         <code>false</code> otherwise.     */    boolean isInMemory();    /**     * Returns the size of the file item.     *     * @return The size of the file item, in bytes.     */    long getSize();    /**     * Returns the contents of the file item as an array of bytes.     *     * @return The contents of the file item as an array of bytes.     */    byte[] get();    /**     * Returns the contents of the file item as a String, using the specified     * encoding.  This method uses {@link #get()} to retrieve the     * contents of the item.     *     * @param encoding The character encoding to use.     *     * @return The contents of the item, as a string.     *     * @throws UnsupportedEncodingException if the requested character     *                                      encoding is not available.     */    String getString(String encoding)        throws UnsupportedEncodingException;    /**     * Returns the contents of the file item as a String, using the default     * character encoding.  This method uses {@link #get()} to retrieve the     * contents of the item.     *     * @return The contents of the item, as a string.     */    String getString();    /**     * A convenience method to write an uploaded item to disk. The client code     * is not concerned with whether or not the item is stored in memory, or on     * disk in a temporary location. They just want to write the uploaded item     * to a file.     * <p>     * This method is not guaranteed to succeed if called more than once for     * the same item. This allows a particular implementation to use, for     * example, file renaming, where possible, rather than copying all of the     * underlying data, thus gaining a significant performance benefit.     *     * @param file The <code>File</code> into which the uploaded item should     *             be stored.     *     * @throws Exception if an error occurs.     */    void write(File file) throws Exception;    /**     * Deletes the underlying storage for a file item, including deleting any     * associated temporary disk file. Although this storage will be deleted     * automatically when the <code>FileItem</code> instance is garbage     * collected, this method can be used to ensure that this is done at an     * earlier time, thus preserving system resources.     */    void delete();    /**     * Returns the name of the field in the multipart form corresponding to     * this file item.     *     * @return The name of the form field.     */    String getFieldName();    /**     * Sets the field name used to reference this file item.     *     * @param name The name of the form field.     */    void setFieldName(String name);    /**     * Determines whether or not a <code>FileItem</code> instance represents     * a simple form field.     *     * @return <code>true</code> if the instance represents a simple form     *         field; <code>false</code> if it represents an uploaded file.     */    boolean isFormField();    /**     * Specifies whether or not a <code>FileItem</code> instance represents     * a simple form field.     *     * @param state <code>true</code> if the instance represents a simple form     *              field; <code>false</code> if it represents an uploaded file.     */    void setFormField(boolean state);    /**     * Returns an {@link java.io.OutputStream OutputStream} that can     * be used for storing the contents of the file.     *     * @return An {@link java.io.OutputStream OutputStream} that can be used     *         for storing the contensts of the file.     *     * @throws IOException if an error occurs.     */    OutputStream getOutputStream() throws IOException;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本一区二区三区高清不卡| 日韩视频一区二区| 石原莉奈在线亚洲三区| 欧美α欧美αv大片| 丰满亚洲少妇av| 午夜影院在线观看欧美| 久久久久9999亚洲精品| 欧美色欧美亚洲另类二区| 国产呦萝稀缺另类资源| 一区二区三区在线高清| 久久精品人人做人人综合| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 韩国精品主播一区二区在线观看 | 一区二区三区精品在线| 亚洲精品一区二区三区99| 色美美综合视频| 精品一区二区三区在线播放 | 亚洲欧美国产77777| 91精品国产综合久久香蕉麻豆| 国产不卡在线播放| 日韩国产成人精品| 亚洲男人的天堂av| 久久日韩粉嫩一区二区三区 | 在线视频你懂得一区二区三区| 美女网站色91| 一区二区三区四区精品在线视频| 精品国产精品网麻豆系列 | 91精品国产综合久久蜜臀| 色哟哟国产精品| 国产在线不卡视频| 秋霞午夜av一区二区三区| 一区二区在线电影| 成人欧美一区二区三区黑人麻豆 | 26uuuu精品一区二区| 欧美老肥妇做.爰bbww| 91麻豆国产福利在线观看| 国产一区二区毛片| 美日韩一区二区| 日日欢夜夜爽一区| 一区二区国产盗摄色噜噜| 中文字幕日韩欧美一区二区三区| 久久久国产精华| 欧美mv日韩mv亚洲| 日韩欧美一区二区三区在线| 欧美日韩亚洲高清一区二区| 欧美三级电影一区| 欧美性受xxxx| 欧美丝袜第三区| 色综合久久久久综合体| 色女孩综合影院| 色婷婷综合久久久久中文| 99视频超级精品| av电影在线观看一区| 成人免费观看视频| 国产jizzjizz一区二区| 国产成人综合网| 国产盗摄精品一区二区三区在线| 国产成人亚洲综合色影视| 国产精品一区在线| 高清不卡一区二区| 成人av在线影院| www.激情成人| 色综合激情五月| 欧美自拍丝袜亚洲| 欧美一区二区三区在线电影| 欧美一二三四区在线| 日韩欧美第一区| 精品国产成人在线影院| 久久久国产综合精品女国产盗摄| 日本一区二区三区电影| **网站欧美大片在线观看| 亚洲精品高清视频在线观看| 亚洲一区在线观看网站| 日本不卡视频在线观看| 国产一区二区三区四区在线观看| 国产成人精品aa毛片| 91小视频免费观看| 欧美午夜不卡视频| 日韩欧美成人激情| 国产精品久久久久久久第一福利| 一个色综合av| 麻豆精品一区二区三区| 国产成人精品亚洲午夜麻豆| 91免费看`日韩一区二区| 欧美视频你懂的| 日韩欧美中文一区| 亚洲国产精品av| 亚洲国产综合色| 国产一区二区主播在线| 91色九色蝌蚪| 制服丝袜国产精品| 亚洲国产成人私人影院tom| 亚洲午夜在线电影| 国产一区亚洲一区| 在线免费观看成人短视频| 日韩精品一区二区三区四区| 国产精品国产精品国产专区不片 | 国产高清精品在线| 欧美亚洲免费在线一区| 日韩欧美的一区二区| 亚洲女人的天堂| 久久99久久精品欧美| 91性感美女视频| 欧美精品一区二区三区高清aⅴ| 亚洲同性同志一二三专区| 日本欧美一区二区在线观看| av一本久道久久综合久久鬼色| 在线观看91av| 椎名由奈av一区二区三区| 日本不卡一区二区三区高清视频| 盗摄精品av一区二区三区| 8v天堂国产在线一区二区| 欧美高清在线精品一区| 免费看日韩精品| 91黄色免费观看| 2020国产精品久久精品美国| 亚洲第一成人在线| av电影天堂一区二区在线观看| 欧美大片在线观看一区二区| 亚洲精选一二三| 国产精一区二区三区| 欧美一区二区三区爱爱| 亚洲激情自拍视频| 成人精品免费网站| 日韩你懂的电影在线观看| 日韩精品一区第一页| 91美女在线看| 国产精品亲子乱子伦xxxx裸| 国产伦精品一区二区三区免费迷| 欧美日韩一区二区三区视频| 亚洲视频免费看| 国产成人在线视频播放| 日韩欧美国产wwwww| 亚洲国产一区视频| 91蝌蚪国产九色| 中文字幕av一区二区三区| 国产一区二区免费看| 精品999在线播放| 蜜臀av性久久久久蜜臀aⅴ流畅 | 欧美国产欧美亚州国产日韩mv天天看完整| 91福利小视频| 亚洲精品写真福利| 91猫先生在线| 亚洲码国产岛国毛片在线| 成人国产精品免费观看动漫| 国产日韩高清在线| 国产福利精品一区| 日本一区二区三区视频视频| 国产v综合v亚洲欧| 国产精品美女久久久久久2018| 国产精品一色哟哟哟| 日本一区免费视频| 国产91清纯白嫩初高中在线观看 | 中文字幕佐山爱一区二区免费| av午夜一区麻豆| 一区二区在线电影| 精品1区2区3区| 日韩在线一区二区| 精品美女一区二区| 国产成人综合网站| 亚洲天天做日日做天天谢日日欢| 91丝袜美女网| 热久久国产精品| 精品奇米国产一区二区三区| 狠狠久久亚洲欧美| 国产日韩欧美精品一区| 波多野结衣中文字幕一区| 最新不卡av在线| 欧美色区777第一页| 久久精品国产一区二区三区免费看 | 成人福利视频在线看| 一区视频在线播放| 日本高清不卡aⅴ免费网站| 日韩中文字幕一区二区三区| 日韩免费电影一区| 国产精品91一区二区| 国产精品不卡在线| 欧美日韩在线播放三区四区| 美腿丝袜在线亚洲一区| 中文无字幕一区二区三区| 一本到高清视频免费精品| 免费在线观看一区| 国产精品免费久久久久| 欧美无乱码久久久免费午夜一区| 免费黄网站欧美| 中文字幕亚洲在| 欧美一区二区三区视频| 国产·精品毛片| 亚洲高清视频中文字幕| 精品成人私密视频| 91麻豆国产福利精品| 久久91精品国产91久久小草| 综合婷婷亚洲小说| 欧美一区二区三区日韩视频| 成人性生交大片免费看在线播放| 亚洲一区二区三区自拍| 精品国产3级a| 欧美视频三区在线播放| 成人黄色av网站在线| 日本中文字幕一区|