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

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

?? fileitem.java

?? Apache Commons FileUpload Copyright 2002-2008 The Apache Software Foundation This product includ
?? 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 578253 2007-09-21 20:13:14Z jochen $ */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一区二区三区免费野_久草精品视频
懂色av一区二区夜夜嗨| 国产精品一区二区在线观看不卡| 91久久精品网| 欧美自拍丝袜亚洲| 精品国精品国产| 国产精品毛片久久久久久| 图片区小说区国产精品视频| 成人精品小蝌蚪| 久久综合视频网| 五月天亚洲精品| 色婷婷亚洲一区二区三区| 国产欧美中文在线| 久久99精品久久久| 6080国产精品一区二区| 亚洲美女偷拍久久| 99久久精品费精品国产一区二区| 久久综合一区二区| 精品一区二区三区免费视频| 欧美老人xxxx18| 亚洲综合成人网| 色婷婷综合久久久久中文一区二区| 欧美国产精品久久| 国产精品亚洲一区二区三区妖精| 日韩欧美视频在线| 天天av天天翘天天综合网色鬼国产| 91免费看片在线观看| 国产精品系列在线| 国产91色综合久久免费分享| www久久精品| 精品一区二区三区免费| 精品在线你懂的| 26uuu亚洲| 日韩精品欧美成人高清一区二区| 国产精品 日产精品 欧美精品| 日韩一级二级三级精品视频| 日韩影视精彩在线| 欧美无乱码久久久免费午夜一区| 亚洲人成在线播放网站岛国| 成人aa视频在线观看| 中文字幕精品一区二区三区精品| 国产精品一二三四| 国产日韩精品一区二区三区在线| 国产一区二区女| 久久久久综合网| 国产一区二区在线观看免费| 精品国产不卡一区二区三区| 精品亚洲国内自在自线福利| 欧美va在线播放| 国产乱码精品一区二区三| 久久久亚洲综合| 成人午夜视频在线| 1000部国产精品成人观看| 97久久人人超碰| 亚洲狼人国产精品| 欧美另类videos死尸| 麻豆成人91精品二区三区| 久久亚洲一级片| 成人黄色在线看| 一区二区三区在线播| 欧美午夜一区二区| 美女视频黄a大片欧美| 2022国产精品视频| 成人激情文学综合网| 亚洲精选在线视频| 69堂精品视频| 国产在线播放一区二区三区| 日本一区二区免费在线观看视频| 99久久亚洲一区二区三区青草| 亚洲欧美激情一区二区| 欧美日韩国产在线观看| 久久疯狂做爰流白浆xx| 国产色综合久久| 一本一本大道香蕉久在线精品| 亚欧色一区w666天堂| 欧美成人精品二区三区99精品| 国产成人精品一区二区三区四区| 国产精品成人一区二区艾草 | 国产精品久久久久四虎| 色狠狠色狠狠综合| 美女视频免费一区| 日韩一区在线播放| 3d成人动漫网站| 成人永久免费视频| 亚洲午夜av在线| 久久午夜老司机| 一本色道久久加勒比精品| 奇米精品一区二区三区四区 | 欧美疯狂性受xxxxx喷水图片| 国产一区二区三区在线观看免费 | 国产美女视频一区| 亚洲男人的天堂av| 欧美一区二区三区性视频| 国产91精品一区二区麻豆亚洲| 亚洲一区中文日韩| 久久看人人爽人人| 欧美午夜精品一区| 成人网在线免费视频| 午夜精品一区在线观看| 亚洲国产精品99久久久久久久久| 欧美色视频在线| 国产成人精品免费在线| 亚洲成人7777| 国产女同互慰高潮91漫画| 欧美午夜电影一区| 成a人片亚洲日本久久| 日本欧美肥老太交大片| 自拍偷拍亚洲激情| 精品免费国产一区二区三区四区| 91丝袜国产在线播放| 久草热8精品视频在线观看| 亚洲免费观看高清在线观看| 久久亚洲免费视频| 欧美剧在线免费观看网站 | 日韩vs国产vs欧美| 中文字幕日韩一区二区| 精品国产伦一区二区三区观看体验 | 中文字幕一区在线| 日韩欧美二区三区| 欧美丝袜自拍制服另类| 成人涩涩免费视频| 精品一区二区三区在线观看国产| 亚洲成av人在线观看| 国产精品国产三级国产aⅴ中文| 日韩久久久精品| 欧美猛男gaygay网站| 91在线观看污| 成人综合婷婷国产精品久久蜜臀| 日韩经典一区二区| 亚洲一区在线观看免费| 亚洲欧洲精品天堂一级| 久久你懂得1024| 精品日韩在线一区| 91麻豆精品国产91久久久久久 | 国模少妇一区二区三区| 日本欧美在线看| 亚洲成人av中文| 亚洲一区二区三区免费视频| 亚洲欧美综合在线精品| 中文字幕av不卡| 国产女同性恋一区二区| 久久精品亚洲精品国产欧美kt∨| 欧美一区二区三区免费在线看 | 欧美日韩精品一区视频| 色哟哟一区二区| 成人av集中营| 不卡电影一区二区三区| 国产999精品久久| 成人a免费在线看| 懂色av噜噜一区二区三区av| 国产精品亚洲一区二区三区在线| 国产一区二区三区视频在线播放| 美女国产一区二区| 蜜臀久久久久久久| 麻豆91在线播放| 久久99久久精品| 韩国视频一区二区| 国产美女一区二区| 国产成人精品亚洲777人妖| 国产91精品在线观看| 波多野结衣一区二区三区 | 成人免费观看视频| 成人av电影在线播放| 波波电影院一区二区三区| 成人动漫一区二区| av亚洲精华国产精华| 99精品视频中文字幕| yourporn久久国产精品| 成人福利视频在线| 在线观看一区二区精品视频| 欧美日韩免费一区二区三区视频| 欧美日韩电影一区| 6080午夜不卡| 337p日本欧洲亚洲大胆精品| 久久免费偷拍视频| 国产精品传媒入口麻豆| 一区二区三区精品在线观看| 午夜不卡av免费| 蜜臀av性久久久久蜜臀aⅴ流畅 | 国产精品一区二区在线播放| 成人一道本在线| 色哟哟亚洲精品| 91精品国产综合久久精品app| 日韩三级高清在线| 国产蜜臀av在线一区二区三区| 国产精品你懂的| 亚洲最大色网站| 男女激情视频一区| 国产成人免费视频网站| 色综合久久88色综合天天6| 欧美男同性恋视频网站| 精品久久久久久最新网址| 国产欧美一区二区三区网站 | 亚洲天堂久久久久久久| 亚洲电影激情视频网站| 精品一区二区影视| 91视频com| 日韩欧美精品在线| 中文字幕高清一区| 视频一区二区欧美| 国产成人精品免费看|