This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 41623 - add FileUtil.isArchive(io.File) and FileUtil.getArchiveRoot(io.File) methods
Summary: add FileUtil.isArchive(io.File) and FileUtil.getArchiveRoot(io.File) methods
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
Depends on:
Blocks: 41448
  Show dependency tree
 
Reported: 2004-04-02 10:22 UTC by David Konecny
Modified: 2008-12-22 14:41 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2004-04-02 10:22:51 UTC
Subject says all. These are variations of existing
methods but for java.io.File parameter.

Tomas, you were planning to do this, right? So I'm
assigning it to you.

Once it is done following code needs to be fixed:
* remove
org.netbeans.modules.java.j2seplatform.platformdefinition.Util.isArchiveFile()
* rewrite
org.netbeans.modules.debugger.jpda.ant.JPDAStart.createSourceClassPath
to us new methods
Comment 1 David Konecny 2004-04-29 09:04:03 UTC
Moving to Radek which might has more time for this.
Comment 2 Jesse Glick 2004-05-01 03:30:52 UTC
There are already URL variants, isn't that enough?
Comment 3 Antonin Nebuzelsky 2008-04-15 17:16:56 UTC
Reassigning to new module owner jskrivanek.
Comment 4 Jiri Skrivanek 2008-10-13 14:36:42 UTC
FileUtil.isArchiveFile(FileObject/URL) and FileUtil.getArchiveRoot(FileObject/URL) should be enough.