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

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

?? file.java

?? kaffe Java 解釋器語言,源碼,Java的子集系統,開放源代碼
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
				       + toString()				       + " to an URI").initCause(e);      }  }      /*   * This native method actually creates the directory   */  private native boolean mkdirInternal (String path);  /**   * 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();    String mk_path = PlatformHelper.removeTailSeparator (path);    return mkdirInternal (mk_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 is used to create a temporary file   */  private static native boolean createInternal (String name) throws IOException;  /**   * 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 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 (!directory.exists())          throw new IOException ("System temporary directory "                                 + directory.getName() + " does not exist.");        if (!directory.isDirectory())          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.       If the separator is '\' a DOS-style-filesystem is assumed and       a 8+3-filename is used, otherwise use a long name.       WARNGIN: some implementation of DOS-style-filesystems also       accept '/' as separator. In that case the following code       will fail.    */    File file;    if (separatorChar!='\\')      {              // probably a non-DOS-filesystem, use long names        do          {            String filename = prefix + System.currentTimeMillis() + suffix;            file = new File (directory, filename);          }        while (file.exists());      }    else      {        // probably a DOS-filesystem, use short names (8+3)        // make sure prefix is not longer than 7 characters        if (prefix.length() >= 8)          throw new IllegalArgumentException("Prefix too long: " + prefix + "(valid length 3..7)");        int  mask = (int)(0x000000ffffFFFFL >> (long)(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 (file.exists());      }    // 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    createInternal(file.getAbsolutePath());     return file;  }  /*   * This native method sets the permissions to make the file read only.   */  private native boolean setReadOnlyInternal (String path);  /**   * 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()  {    // Test for existence.    if (!exists())      return false;    // We still need to do a SecurityCheck since exists() only checks    // for read access    checkWrite();    return setReadOnlyInternal (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()  {    File[] f = new File[1];    f[0] = new File("/");    return f;  }  /**   * 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)  {    String p1, p2;        try      {          p1 = getCanonicalPath();        p2 = other.getCanonicalPath();      }    catch(IOException e)      {        // FIXME: What do we do here?  The spec requires the canonical path.        // Even if we don't call the method, we must replicate the functionality        // which per the spec can fail.  What happens in that situation?        // I just assume the files are equal!        return 0;      }    return p1.compareTo (p2);  }  /**   * 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 native method actually performs the rename.   */  private native boolean renameToInternal(String target, String dest);  /**   * 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();    // Call our native rename method    return renameToInternal (path, dest.path);  }  /*   * This method does the actual setting of the modification time.   */  private native boolean setLastModifiedInternal (String path, long time);   /**   * 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 setLastModifiedInternal (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);  }  static class DeleteFileHelper extends Thread  {    LinkedList filesToDelete = new LinkedList();    public DeleteFileHelper()    {      Runtime.getRuntime().addShutdownHook (this);    }        public void run()    {      Iterator fileIterator = filesToDelete.iterator();      while (fileIterator.hasNext())	{	  String path = (String)fileIterator.next();	  try	    {	      File f = new File(path);	      f.delete();	    }	  catch (Throwable _)	    {	    }	}    }  }  private static DeleteFileHelper deleteHelper = new DeleteFileHelper();  /**    * 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);    deleteHelper.filesToDelete.add(getAbsolutePath());        return;  }  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一区二区三区免费野_久草精品视频
亚洲精品五月天| 欧美三级日韩三级| 国产日本欧洲亚洲| 国产999精品久久| 国产精品另类一区| 99精品欧美一区二区三区综合在线| 久久免费视频一区| 波多野结衣亚洲| 亚洲最快最全在线视频| 欧美日韩在线播| 国内精品写真在线观看| 国产欧美精品一区| 日本福利一区二区| 美女免费视频一区| 国产精品久久影院| 欧美久久一二区| 国产乱码精品一品二品| 亚洲视频在线一区观看| 欧美日韩中文精品| 国产精品一区二区黑丝| 亚洲另类在线一区| 精品国产百合女同互慰| av在线一区二区| 午夜欧美在线一二页| 国产亚洲综合性久久久影院| 不卡一区中文字幕| 美女网站色91| 中文字幕在线播放不卡一区| 欧美久久久久中文字幕| 国产乱码一区二区三区| 亚洲一区二区视频在线观看| 欧美精品一区二区三区四区| 91久久久免费一区二区| 九九九久久久精品| 一区二区三区91| 国产拍揄自揄精品视频麻豆| 欧美日本乱大交xxxxx| 懂色av一区二区三区免费看| 日韩精品一二三区| 136国产福利精品导航| 精品国内二区三区| 欧美日韩成人综合| 色综合久久久久久久久久久| 狠狠久久亚洲欧美| 婷婷成人综合网| 亚洲女人的天堂| 欧美国产一区二区在线观看| 日韩一区二区在线看| 欧美亚洲日本国产| 成人av一区二区三区| 久久99精品一区二区三区三区| 亚洲综合自拍偷拍| 国产精品电影一区二区三区| 亚洲精品在线观| 欧美一区二区三区精品| 欧美在线free| 色哟哟一区二区| 97久久精品人人爽人人爽蜜臀| 精品一区二区免费看| 日韩国产在线一| 亚洲尤物视频在线| 亚洲免费高清视频在线| 中文字幕在线一区免费| 国产日韩欧美在线一区| 精品对白一区国产伦| 欧美丰满嫩嫩电影| 欧美人妇做爰xxxⅹ性高电影| 91免费小视频| 97国产一区二区| 99re亚洲国产精品| 91亚洲精品一区二区乱码| 91在线观看高清| 91偷拍与自偷拍精品| 91尤物视频在线观看| 91在线小视频| 91福利在线观看| 欧美色视频一区| 51精品久久久久久久蜜臀| 欧美男生操女生| 678五月天丁香亚洲综合网| 91麻豆精品国产91久久久资源速度 | 日本网站在线观看一区二区三区| 亚洲一区二区三区四区五区中文| 亚洲综合一区二区| 日韩中文欧美在线| 美国精品在线观看| 国产麻豆一精品一av一免费| 韩国欧美国产1区| 久久99国产精品免费网站| 久久精品国产**网站演员| 激情文学综合网| 国产成人免费在线观看不卡| 波多野洁衣一区| 日本高清成人免费播放| 欧美日韩一区二区三区高清| 777欧美精品| 欧美精品一区二| 国产精品色在线观看| 一区二区三区高清在线| 日日摸夜夜添夜夜添亚洲女人| 免费成人在线影院| 国产福利精品一区二区| 91在线高清观看| 欧美一区二区女人| 欧美国产激情一区二区三区蜜月| 亚洲美女在线国产| 奇米精品一区二区三区在线观看一| 久久精品国产网站| 91性感美女视频| 538在线一区二区精品国产| 久久久精品天堂| 一区二区三区四区激情| 韩国一区二区在线观看| 色噜噜久久综合| 亚洲精品一区二区在线观看| 亚洲同性gay激情无套| 日韩不卡手机在线v区| 国产成人aaa| 欧美性受xxxx黑人xyx| 久久久精品国产免大香伊| 一区二区三区在线观看欧美| 狠狠色丁香久久婷婷综合_中| jlzzjlzz亚洲日本少妇| 91精品福利在线一区二区三区| 国产亚洲欧美色| 秋霞影院一区二区| 色综合久久天天| 久久久另类综合| 五月天国产精品| 99久久99久久精品免费观看| 精品久久人人做人人爰| 亚洲一区二区三区四区五区黄| 国产原创一区二区| 欧美美女直播网站| 中文字幕二三区不卡| 蜜臀av一区二区在线免费观看| 91性感美女视频| 欧美国产日韩精品免费观看| 午夜精品福利一区二区三区蜜桃| 成人av综合一区| www激情久久| 免费三级欧美电影| 欧美在线播放高清精品| 1区2区3区精品视频| 国产高清精品在线| 精品精品国产高清a毛片牛牛 | 亚洲欧美日韩在线| 粉嫩蜜臀av国产精品网站| 欧美一区二区久久| 亚洲国产中文字幕| 色婷婷av一区二区三区gif| 国产精品丝袜在线| 精品一区二区三区视频在线观看| 欧美美女黄视频| 亚洲一区二区不卡免费| 91首页免费视频| 国产精品毛片久久久久久久| 国产高清视频一区| 久久久久久久av麻豆果冻| 精品亚洲免费视频| 欧美刺激午夜性久久久久久久| 午夜视频在线观看一区| 欧美亚洲一区二区在线| 一二三四区精品视频| 色88888久久久久久影院按摩 | 亚洲精品美国一| 97精品久久久久中文字幕| 国产精品视频免费看| 国产成人h网站| 久久久国产午夜精品| 国产电影一区二区三区| 久久网站最新地址| 国产精品一区二区三区四区| 久久久久久久久久久久久女国产乱 | 国产一区不卡视频| 国产亚洲精品资源在线26u| 国产精品18久久久久久vr| 久久久久久久久免费| 成人久久18免费网站麻豆| 国产精品国产三级国产aⅴ入口 | 免费成人在线观看视频| 日韩欧美国产三级| 国产一区啦啦啦在线观看| 日本一区二区三区四区| 北岛玲一区二区三区四区| 亚洲乱码国产乱码精品精可以看| 99久久久久免费精品国产| 一区二区三区不卡视频| 欧美精品在线观看播放| 精品一区二区国语对白| 国产欧美一区二区精品婷婷 | 久久久99精品久久| av一区二区三区黑人| 亚洲午夜电影在线| 精品久久国产97色综合| 成人自拍视频在线| 亚洲精品免费视频| 91精品在线麻豆| 国产不卡在线视频| 亚洲一区二区三区激情|