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

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

?? file.java

?? gcc的組建
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
    String abspath = getAbsolutePath();    if (isDirectory())      abspath = abspath + separator;            try      {	return new URI("file", abspath.replace(separatorChar, '/'), null);      }    catch (URISyntaxException use)      {        // Can't happen.	throw new RuntimeException(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 native method actually creates the directory   */  private final native boolean performMkdir();  /**   * 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 performMkdir();  }  private static boolean mkdirs (File x)  {    if (x.isDirectory())      return true;    String p = x.getPath();    String parent = x.getParent();    if (parent != null)      {	x.path = parent;	if (! mkdirs (x))	  return false;	x.path = p;      }    return x.mkdir();  }  /**   * 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()  {    checkWrite();    if (isDirectory())      return false;    return mkdirs (new File (path));  }  private static synchronized String nextValue()  {    return Long.toString(counter++, Character.MAX_RADIX);  }  /**   * 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 = 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";    // Truncation rules.    // `6' is the number of characters we generate.    if (prefix.length() + 6 + suffix.length() > maxPathLen)      {	int suf_len = 0;	if (suffix.charAt(0) == '.')	  suf_len = 4;	suffix = suffix.substring(0, suf_len);	if (prefix.length() + 6 + suf_len > maxPathLen)	  prefix = prefix.substring(0, maxPathLen - 6 - suf_len);      }    File f;    // How many times should we try?  We choose 100.    for (int i = 0; i < 100; ++i)      {	// This is ugly.	String t = "ZZZZZZ" + nextValue();	String l = prefix + t.substring(t.length() - 6) + suffix;	try	  {	    f = new File(directory, l);	    if (f.createNewFile())	      return f;	  }	catch (IOException ignored)	  {	  }      }    throw new IOException ("cannot create temporary file");  }  /*   * This native method sets the permissions to make the file read only.   */  private native boolean performSetReadOnly();  /**   * 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();    return performSetReadOnly();  }  private static native File[] performListRoots();  /**   * 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[] roots = performListRoots();        SecurityManager s = System.getSecurityManager();    if (s != null)      {	// Only return roots to which the security manager permits read access.	int count = roots.length;	for (int i = 0; i < roots.length; i++)	  {	    try	      {        	s.checkRead (roots[i].path);			      }	    catch (SecurityException sx)	      {	        roots[i] = null;		count--;	      }	  }	if (count != roots.length)	  {	    File[] newRoots = new File[count];	    int k = 0;	    for (int i=0; i < roots.length; i++)	      {	        if (roots[i] != null)		  newRoots[k++] = roots[i];	      }	    roots = newRoots;	  }      }    return roots;  }  /**   * 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 (caseSensitive)      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 native method actually performs the rename.   */  private native boolean performRenameTo (File 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)  {    SecurityManager s = System.getSecurityManager();    String sname = getName();    String dname = dest.getName();    if (s != null)      {	s.checkWrite (sname);	s.checkWrite (dname);      }    return performRenameTo (dest);  }  /*   * This method does the actual setting of the modification time.   */  private native boolean performSetLastModified(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 performSetLastModified(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    */  // FIXME: This should use the ShutdownHook API once we implement that.  public void deleteOnExit()  {    // Check the SecurityManager    SecurityManager sm = System.getSecurityManager();    if (sm != null)      sm.checkDelete (getName());    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.xcao| 日本中文一区二区三区| 一区二区成人在线| 亚洲午夜电影在线| 一个色在线综合| 一区二区三区在线视频免费| 亚洲蜜臀av乱码久久精品| 中文字幕欧美一区| 亚洲精品美腿丝袜| 亚洲制服丝袜在线| 美女一区二区久久| 国产在线看一区| 99久久综合狠狠综合久久| 色综合视频在线观看| 日本韩国一区二区三区| 欧美日韩激情一区| 精品国产三级电影在线观看| 久久久一区二区三区捆绑**| 亚洲视频综合在线| 性久久久久久久| 韩国三级电影一区二区| 成人午夜短视频| 欧美视频在线观看一区| 日韩一区二区视频在线观看| 国产欧美一区二区在线| 亚洲欧美视频在线观看视频| 日韩高清电影一区| 国产一区中文字幕| 欧美在线视频你懂得| 日韩一级免费观看| 中文字幕亚洲在| 日产国产高清一区二区三区 | 欧美色窝79yyyycom| 91精品国产综合久久久久久漫画 | 五月天激情综合网| 国产一区福利在线| 欧美亚洲综合久久| 国产日韩成人精品| 天天色综合成人网| 99re这里只有精品首页| 亚洲精品在线三区| 日日噜噜夜夜狠狠视频欧美人 | 成人免费在线观看入口| 麻豆高清免费国产一区| 色婷婷av久久久久久久| 久久久久97国产精华液好用吗| 亚洲精品乱码久久久久久黑人 | 国产精品久久久久久妇女6080 | 欧美va亚洲va| 亚洲国产精品人人做人人爽| 成人免费毛片高清视频| 欧美v亚洲v综合ⅴ国产v| 亚洲成人免费av| 91小视频免费看| 久久久99免费| 精品午夜久久福利影院| 欧美色视频一区| 亚洲另类一区二区| 9久草视频在线视频精品| 久久精品夜色噜噜亚洲aⅴ| 日本美女一区二区三区视频| 欧亚洲嫩模精品一区三区| 国产精品视频观看| 国产+成+人+亚洲欧洲自线| 精品乱人伦小说| 免费成人你懂的| 欧美一区二区精品在线| 午夜精品一区二区三区免费视频| 色成年激情久久综合| 亚洲天堂福利av| 99视频热这里只有精品免费| 国产精品水嫩水嫩| 波多野结衣的一区二区三区| 成人欧美一区二区三区白人 | www.日韩精品| 国产精品不卡在线观看| av成人免费在线| 亚洲摸摸操操av| 欧美视频精品在线| 同产精品九九九| 欧美成人女星排名| 国产精品自拍av| 亚洲欧美综合另类在线卡通| 91免费在线视频观看| 亚洲国产日韩a在线播放性色| 欧美日韩高清一区二区不卡| 日韩av午夜在线观看| 欧美成人官网二区| 成人一区在线看| 亚洲一区在线播放| 日韩无一区二区| 国产精品自在欧美一区| 亚洲欧美日韩久久精品| 在线电影院国产精品| 久国产精品韩国三级视频| 国产日韩欧美a| 色成人在线视频| 久久国产精品第一页| 欧美高清在线精品一区| 在线日韩av片| 精品中文字幕一区二区小辣椒| 国产欧美视频一区二区三区| 91麻豆视频网站| 另类综合日韩欧美亚洲| 国产精品女同互慰在线看| 欧美视频完全免费看| 韩国在线一区二区| 亚洲激情第一区| 久久一日本道色综合| 色综合咪咪久久| 国内精品不卡在线| 一区二区三区日韩欧美| 久久久777精品电影网影网| 在线视频观看一区| 高清日韩电视剧大全免费| 亚洲成人动漫在线观看| 国产欧美视频在线观看| 这里只有精品99re| 色欧美日韩亚洲| 国产露脸91国语对白| 香蕉乱码成人久久天堂爱免费| 久久精品综合网| 日韩一区和二区| 欧美又粗又大又爽| 大桥未久av一区二区三区中文| 婷婷久久综合九色综合绿巨人| 久久精品亚洲一区二区三区浴池| 欧美美女一区二区在线观看| aaa亚洲精品一二三区| 狠狠色狠狠色综合系列| 首页欧美精品中文字幕| 亚洲一区免费视频| 亚洲欧美日韩国产综合在线| 久久久天堂av| 精品国产精品一区二区夜夜嗨| 欧美日韩一本到| 欧美在线一区二区三区| 91丨九色porny丨蝌蚪| 波多野结衣欧美| gogo大胆日本视频一区| 国产福利不卡视频| 国产成人av电影在线播放| 精品一区二区免费视频| 免费视频一区二区| 日韩avvvv在线播放| 亚洲成av人片一区二区梦乃| 亚洲综合在线视频| 亚洲激情成人在线| 亚洲国产成人av网| 亚洲影院在线观看| 午夜激情综合网| 日本麻豆一区二区三区视频| 无码av免费一区二区三区试看| 亚洲成人你懂的| 日韩av一级片| 狠狠色丁香婷综合久久| 国产一区二区美女| 国产成人丝袜美腿| 成人avav在线| 欧美三区在线观看| 91精品国产黑色紧身裤美女| 日韩欧美在线不卡| 国产日韩欧美亚洲| 亚洲人精品午夜| 亚洲国产综合在线| 日本视频中文字幕一区二区三区| 天堂午夜影视日韩欧美一区二区| 日本亚洲天堂网| 国产精品一区二区免费不卡 | 亚洲欧洲精品成人久久奇米网| 亚洲欧美色综合| 午夜影视日本亚洲欧洲精品| 奇米色一区二区| 国产99精品在线观看| 91美女片黄在线观看| 欧美一区午夜精品| 中文字幕免费在线观看视频一区| 国产精品对白交换视频| 亚洲.国产.中文慕字在线| 久久精品国产99国产精品| av电影天堂一区二区在线观看| 欧美日韩日日夜夜| 国产性天天综合网| 香港成人在线视频| 成人免费看黄yyy456| 91精品国产色综合久久不卡蜜臀| 久久伊人蜜桃av一区二区| 亚洲欧美一区二区三区国产精品| 五月婷婷综合网| 粉嫩aⅴ一区二区三区四区五区 | 日韩激情一二三区| 国产精品一区久久久久| 欧美日韩亚洲不卡| 国产婷婷色一区二区三区在线| 亚洲电影在线免费观看| 成人精品免费看| 精品国产露脸精彩对白| 亚洲超碰精品一区二区| 成人一区二区三区|