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

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

?? file.java

?? linux下編程用 編譯軟件
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
    int count = 0;    for (int i = 0; i < fobjlist.length; i++)      if (filter.accept(fobjlist[i]) == true)        ++count;    File[] final_list = new File[count];    count = 0;    for (int i = 0; i < fobjlist.length; i++)      if (filter.accept(fobjlist[i]) == true)        {          final_list[count] = fobjlist[i];          ++count;        }    return final_list;  }  /**   * This method returns a <code>String</code> that is the path name of the   * file as returned by <code>getPath</code>.   *   * @return A <code>String</code> representation of this file   */  public String toString()  {    return path;  }  /**   * @return A <code>URI</code> for this object.   */  public URI toURI()  {    String abspath = getAbsolutePath();           if (isDirectory() || path.equals(""))      abspath = abspath + separatorChar;    if (separatorChar == '\\')      abspath = separatorChar + abspath;            try      {        return new URI("file", null, null, -1,                       abspath.replace(separatorChar, '/'),                       null, null);      }    catch (URISyntaxException use)      {        // Can't happen.        throw (InternalError) new InternalError("Unconvertible file: "						+ this).initCause(use);      }  }  /**   * This method returns a <code>URL</code> with the <code>file:</code>   * protocol that represents this file.  The exact form of this URL is   * system dependent.   *   * @return A <code>URL</code> for this object.   *   * @exception MalformedURLException If the URL cannot be created    * successfully.   */  public URL toURL() throws MalformedURLException  {    // On Win32, Sun's JDK returns URLs of the form "file:/c:/foo/bar.txt",    // while on UNIX, it returns URLs of the form "file:/foo/bar.txt".     if (separatorChar == '\\')      return new URL ("file:/" + getAbsolutePath().replace ('\\', '/')		      + (isDirectory() ? "/" : ""));    else      return new URL ("file:" + getAbsolutePath()		      + (isDirectory() ? "/" : ""));  }  /**   * This method creates a directory for the path represented by this object.   *   * @return <code>true</code> if the directory was created,    * <code>false</code> otherwise   *   * @exception SecurityException If write access is not allowed to this file   */  public boolean mkdir()  {    checkWrite();    return VMFile.mkdir(path);  }  /**   * This method creates a directory for the path represented by this file.   * It will also create any intervening parent directories if necessary.   *   * @return <code>true</code> if the directory was created,    * <code>false</code> otherwise   *   * @exception SecurityException If write access is not allowed to this file   */  public boolean mkdirs()  {    String parent = getParent();    if (parent == null)      {        return mkdir();      }          File f = new File(parent);    if (!f.exists())      {        boolean rc = f.mkdirs();        if (rc == false)          return false;      }    return mkdir();  }  /**   * This method creates a temporary file in the specified directory.  If    * the directory name is null, then this method uses the system temporary    * directory. The files created are guaranteed not to currently exist and    * the same file name will never be used twice in the same virtual    * machine instance.     * The system temporary directory is determined by examinging the    * <code>java.io.tmpdir</code> system property.   * <p>   * The <code>prefix</code> parameter is a sequence of at least three   * characters that are used as the start of the generated filename.  The   * <code>suffix</code> parameter is a sequence of characters that is used   * to terminate the file name.  This parameter may be <code>null</code>   * and if it is, the suffix defaults to ".tmp".   * <p>   * If a <code>SecurityManager</code> exists, then its <code>checkWrite</code>   * method is used to verify that this operation is permitted.   *   * @param prefix The character prefix to use in generating the path name.   * @param suffix The character suffix to use in generating the path name.   * @param directory The directory to create the file in, or    * <code>null</code> for the default temporary directory   *   * @exception IllegalArgumentException If the patterns is not valid   * @exception SecurityException If there is no permission to perform    * this operation   * @exception IOException If an error occurs   *   * @since 1.2   */  public static synchronized File createTempFile(String prefix, String suffix,				    File directory)    throws IOException  {    // Grab the system temp directory if necessary    if (directory == null)      {        String dirname = System.getProperty("java.io.tmpdir");        if (dirname == null)          throw new IOException("Cannot determine system temporary directory"); 	        directory = new File(dirname);        if (! VMFile.exists(directory.path))          throw new IOException("System temporary directory "                                + directory.getName() + " does not exist.");        if (! VMFile.isDirectory(directory.path))          throw new IOException("System temporary directory "                                + directory.getName()                                + " is not really a directory.");      }    // Check if prefix is at least 3 characters long    if (prefix.length() < 3)      throw new IllegalArgumentException("Prefix too short: " + prefix);    // Set default value of suffix    if (suffix == null)      suffix = ".tmp";    // Now identify a file name and make sure it doesn't exist.    File file;    if (!VMFile.IS_DOS_8_3)      {         do          {            long now = System.currentTimeMillis();            if (now > last_tmp)              {                // The last temporary file was created more than 1 ms ago.                last_tmp = now;                n_created = 0;              }            else              n_created++;                        String name = Long.toHexString(now);            if (n_created > 0)              name += '_'+Integer.toHexString(n_created);            String filename = prefix + name + suffix;            file = new File(directory, filename);          }        while (VMFile.exists(file.path));      }    else      {        // make sure prefix is not longer than 7 characters        if (prefix.length() >= 8)          throw new IllegalArgumentException("Prefix too long: " + prefix + "(valid length 3..7)");        long mask = 0x000000ffffFFFFL >> (prefix.length() * 4);        do          {            int n = (int) (System.currentTimeMillis() & mask);            String filename = prefix + java.lang.Integer.toHexString(n) + suffix;            file = new File(directory, filename);          }        while (VMFile.exists(file.path));      }    // Verify that we are allowed to create this file    SecurityManager sm = System.getSecurityManager();    if (sm != null)      sm.checkWrite(file.getAbsolutePath());    // Now create the file and return our file object    // XXX - FIXME race condition.    VMFile.create(file.getAbsolutePath());     return file;  }  /**   * This method sets the file represented by this object to be read only.   * A read only file or directory cannot be modified.  Please note that    * GNU systems allow read only files to be deleted if the directory it   * is contained in is writable.   *   * @return <code>true</code> if the operation succeeded, <code>false</code>   * otherwise.   *   * @exception SecurityException If the <code>SecurityManager</code> does   * not allow this operation.   *   * @since 1.2   */  public boolean setReadOnly()  {    // Do a security check before trying to do anything else.    checkWrite();    // Test for existence.    if (! VMFile.exists(path))      return false;    return VMFile.setReadOnly(path);  }  /**   * This method returns an array of filesystem roots.  Some operating systems   * have volume oriented filesystem.  This method provides a mechanism for   * determining which volumes exist.  GNU systems use a single hierarchical   * filesystem, so will have only one "/" filesystem root.   *   * @return An array of <code>File</code> objects for each filesystem root   * available.   *   * @since 1.2   */  public static File[] listRoots()  {    return VMFile.listRoots();  }  /**   * This method creates a temporary file in the system temporary directory.    * The files created are guaranteed not to currently exist and the same file   * name will never be used twice in the same virtual machine instance.  The   * system temporary directory is determined by examinging the    * <code>java.io.tmpdir</code> system property.   * <p>   * The <code>prefix</code> parameter is a sequence of at least three   * characters that are used as the start of the generated filename.  The   * <code>suffix</code> parameter is a sequence of characters that is used   * to terminate the file name.  This parameter may be <code>null</code>   * and if it is, the suffix defaults to ".tmp".   * <p>   * If a <code>SecurityManager</code> exists, then its <code>checkWrite</code>   * method is used to verify that this operation is permitted.   * <p>   * This method is identical to calling    * <code>createTempFile(prefix, suffix, null)</code>.   *   * @param prefix The character prefix to use in generating the path name.   * @param suffix The character suffix to use in generating the path name.   *   * @exception IllegalArgumentException If the prefix or suffix are not valid.   * @exception SecurityException If there is no permission to perform    * this operation   * @exception IOException If an error occurs   */  public static File createTempFile(String prefix, String suffix)    throws IOException  {    return createTempFile(prefix, suffix, null);  }  /**   * This method compares the specified <code>File</code> to this one   * to test for equality.  It does this by comparing the canonical path names   * of the files.    * <p>   * The canonical paths of the files are determined by calling the   * <code>getCanonicalPath</code> method on each object.   * <p>   * This method returns a 0 if the specified <code>Object</code> is equal   * to this one, a negative value if it is less than this one    * a positive value if it is greater than this one.   *   * @return An integer as described above   *   * @since 1.2   */  public int compareTo(File other)  {    if (VMFile.IS_CASE_SENSITIVE)      return path.compareTo (other.path);    else      return path.compareToIgnoreCase (other.path);  }  /**   * This method compares the specified <code>Object</code> to this one   * to test for equality.  It does this by comparing the canonical path names   * of the files.  This method is identical to <code>compareTo(File)</code>   * except that if the <code>Object</code> passed to it is not a    * <code>File</code>, it throws a <code>ClassCastException</code>   * <p>   * The canonical paths of the files are determined by calling the   * <code>getCanonicalPath</code> method on each object.   * <p>   * This method returns a 0 if the specified <code>Object</code> is equal   * to this one, a negative value if it is less than this one    * a positive value if it is greater than this one.   *   * @return An integer as described above   *   * @exception ClassCastException If the passed <code>Object</code> is    * not a <code>File</code>   *   * @since 1.2   */  public int compareTo(Object obj)  {    return compareTo((File) obj);  }  /**   * This method renames the file represented by this object to the path   * of the file represented by the argument <code>File</code>.   *   * @param dest The <code>File</code> object representing the target name   *   * @return <code>true</code> if the rename succeeds, <code>false</code>    * otherwise.   *   * @exception SecurityException If write access is not allowed to the    * file by the <code>SecurityMananger</code>.   */  public synchronized boolean renameTo(File dest)  {    checkWrite();    dest.checkWrite();    // Call our native rename method    return VMFile.renameTo(path, dest.path);  }  /**   * This method sets the modification time on the file to the specified   * value.  This is specified as the number of seconds since midnight   * on January 1, 1970 GMT.   *   * @param time The desired modification time.   *   * @return <code>true</code> if the operation succeeded, <code>false</code>   * otherwise.   *   * @exception IllegalArgumentException If the specified time is negative.   * @exception SecurityException If the <code>SecurityManager</code> will   * not allow this operation.   *   * @since 1.2   */  public boolean setLastModified(long time)   {    if (time < 0)      throw new IllegalArgumentException("Negative modification time: " + time);    checkWrite();    return VMFile.setLastModified(path, time);  }  private void checkWrite()  {    // Check the SecurityManager    SecurityManager s = System.getSecurityManager();        if (s != null)      s.checkWrite(path);  }  private void checkRead()  {    // Check the SecurityManager    SecurityManager s = System.getSecurityManager();        if (s != null)      s.checkRead(path);  }  /**    * Calling this method requests that the file represented by this object   * be deleted when the virtual machine exits.  Note that this request cannot   * be cancelled.  Also, it will only be carried out if the virtual machine   * exits normally.   *   * @exception SecurityException If deleting of the file is not allowed   *   * @since 1.2    */  public void deleteOnExit()  {    // Check the SecurityManager    SecurityManager sm = System.getSecurityManager();    if (sm != null)      sm.checkDelete(path);    DeleteFileHelper.add(this);  }  private void writeObject(ObjectOutputStream oos) throws IOException  {    oos.defaultWriteObject();    oos.writeChar(separatorChar);  }  private void readObject(ObjectInputStream ois)    throws ClassNotFoundException, IOException  {    ois.defaultReadObject();    // If the file was from an OS with a different dir separator,    // fixup the path to use the separator on this OS.    char oldSeparatorChar = ois.readChar();        if (oldSeparatorChar != separatorChar)      path = path.replace(oldSeparatorChar, separatorChar);  }  } // class File

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美国产综合一区二区| 国产高清在线观看免费不卡| 国产综合色产在线精品| 91福利在线看| 国产精品午夜在线观看| 看电影不卡的网站| 欧美色电影在线| 亚洲麻豆国产自偷在线| 国产精品一卡二卡| 日韩精品最新网址| 午夜国产不卡在线观看视频| 色婷婷久久久综合中文字幕| 中文幕一区二区三区久久蜜桃| 久久精品99国产精品| 欧美日精品一区视频| 亚洲欧美日韩久久精品| 高清成人免费视频| 精品免费99久久| 久久精品国产亚洲一区二区三区| 欧美亚洲国产一区二区三区va| 国产精品免费视频网站| 成人综合婷婷国产精品久久蜜臀| 久久众筹精品私拍模特| 美国精品在线观看| 欧美一区二区三区在线| 日韩国产欧美在线视频| 在线播放视频一区| 丝袜美腿高跟呻吟高潮一区| 欧美性大战久久久久久久蜜臀 | 亚洲第一久久影院| 色婷婷国产精品综合在线观看| 欧美经典三级视频一区二区三区| 国产真实乱偷精品视频免| 欧美大片一区二区| 国内外成人在线| 久久色.com| 成人黄色777网| 日韩美女视频一区| 日本道色综合久久| 五月开心婷婷久久| 日韩视频一区二区| 国产高清在线观看免费不卡| 国产精品人成在线观看免费 | 6080yy午夜一二三区久久| 亚洲二区在线观看| 欧美一区二区视频在线观看2022| 另类欧美日韩国产在线| 国产亚洲综合色| 成人av免费在线观看| 亚洲特黄一级片| 欧美剧情片在线观看| 美洲天堂一区二卡三卡四卡视频| 精品国产91久久久久久久妲己 | 国产免费久久精品| 色综合天天综合网天天狠天天 | 欧美性受极品xxxx喷水| 日韩国产在线观看一区| 国产亚洲一区字幕| 欧美性极品少妇| 国产精华液一区二区三区| 亚洲欧美一区二区视频| 91精品一区二区三区在线观看| 精品一区二区三区在线观看国产 | 色综合天天综合色综合av| 亚洲成a人v欧美综合天堂| 欧美va在线播放| 91丨九色丨国产丨porny| 日本中文字幕不卡| 1区2区3区欧美| 欧美成人video| 色先锋久久av资源部| 捆绑调教一区二区三区| 一区二区高清在线| 欧美激情在线观看视频免费| 欧美在线免费视屏| 懂色av一区二区在线播放| 亚洲一区二区影院| 国产色爱av资源综合区| 91麻豆精品国产自产在线观看一区 | 色综合久久久久久久久久久| 久久99蜜桃精品| 一区二区三区精密机械公司| 国产三区在线成人av| 欧美一区二区在线视频| 91麻豆文化传媒在线观看| 国产馆精品极品| 久久99九九99精品| 天堂在线亚洲视频| 亚洲一区成人在线| 亚洲欧美在线另类| 国产精品美女久久久久av爽李琼| 欧美一级日韩一级| 欧美日韩精品欧美日韩精品一综合| 成人激情免费电影网址| 激情文学综合丁香| 久草精品在线观看| 免费一区二区视频| 日一区二区三区| 亚洲电影视频在线| 亚洲电影一区二区三区| 亚洲精品国产高清久久伦理二区| 国产精品久久久久7777按摩| 国产欧美一区二区在线| 精品国产免费一区二区三区香蕉 | 国产精品精品国产色婷婷| 久久综合成人精品亚洲另类欧美| 日韩精品一区二区三区视频播放| 欧美日韩国产一级片| 欧美色国产精品| 欧美日韩一区二区三区视频| 91国产免费看| 欧美日韩在线精品一区二区三区激情 | 亚洲免费观看高清完整版在线观看熊 | 天天亚洲美女在线视频| 亚洲成av人片www| 日韩国产精品久久久| 免费欧美在线视频| 精一区二区三区| 国产馆精品极品| 91香蕉视频在线| 欧洲亚洲国产日韩| 欧美一级黄色大片| 久久精品一区二区三区不卡 | 不卡的av在线| 欧美在线一二三| 欧美精品日日鲁夜夜添| 日韩一区二区在线看| 久久你懂得1024| 亚洲欧洲99久久| 午夜欧美视频在线观看 | 色婷婷亚洲精品| 欧美丰满嫩嫩电影| 日韩女优毛片在线| 国产三级三级三级精品8ⅰ区| 国产精品久久毛片a| 一区二区日韩电影| 午夜精品久久久久久| 国产最新精品精品你懂的| 成人性视频免费网站| 欧美天堂一区二区三区| 日韩精品一区二区三区四区| 国产精品水嫩水嫩| 亚洲成av人片一区二区三区| 国产综合色精品一区二区三区| a在线欧美一区| 欧美高清hd18日本| 久久久噜噜噜久噜久久综合| 亚洲另类中文字| 极品美女销魂一区二区三区| 91在线精品秘密一区二区| 欧美日韩夫妻久久| 国产色91在线| 日韩高清不卡一区二区三区| 国产91在线看| 在线不卡一区二区| 亚洲欧洲精品天堂一级| 欧美96一区二区免费视频| 成人av资源下载| 欧美一区二区精品| 亚洲九九爱视频| 国产一区日韩二区欧美三区| 99视频超级精品| 久久先锋影音av鲁色资源网| 一区二区三区高清不卡| 国产成人自拍网| 欧美一区二区成人| 伊人色综合久久天天| 国产精品888| 91精品国产91久久久久久最新毛片| 亚洲国产精品国自产拍av| 日韩av在线发布| 91精彩视频在线观看| 国产精品亲子伦对白| 国内精品在线播放| 欧美一区二区国产| 亚洲成人精品一区二区| 99精品偷自拍| 欧美激情一区二区| 国产成人精品免费一区二区| 精品久久久久久久久久久久久久久| 亚洲最大的成人av| 91蝌蚪porny| 国产精品进线69影院| 成人中文字幕电影| 久久久欧美精品sm网站| 麻豆成人91精品二区三区| 欧美一区二区成人| 日本成人在线网站| 欧美日韩一区三区| 亚洲夂夂婷婷色拍ww47| 99久久国产免费看| 中文字幕佐山爱一区二区免费| 国产成人无遮挡在线视频| 久久综合九色综合欧美亚洲| 麻豆精品蜜桃视频网站| 精品国产乱子伦一区| 国产在线一区二区| 久久久欧美精品sm网站| 国产九色sp调教91| 亚洲国产岛国毛片在线|