java.util.Enumeration enum = System.getProperties().keys(); | |
String key = null; | |
while (enum.hasMoreElements()){ | |
key = (String)enum.nextElement(); | |
System.out.print(key); | |
for (int i =0;i<(30-key.length());i++)System.out.print(" "); | |
System.out.println("->"+System.getProperty(key)); | |
} | |
new java.net.URL("file://C:/temp/org.eclipse.update.core.feature1_1.0.0/org.eclipse.update.core.feature1.plugin1_1.1.1.jar").openStream() | |
(new java.io.File("C:\\chris chris\hello\\")).mkdirs(); | |
java.net.URL a = new java.net.URL("http","www.oti.com","/feature/blah.jar"); | |
java.net.URL b = new java.net.URL("jar",null,a.toExternalForm()+"!/hello.txt"); | |
b | |
new java.net.URL("file",null,System.getProperty("java.io.tmpdir")); | |
String tempDir = "c:\\TEMP\\features2.jar"; | |
java.net.URL TEMP_SITE = new java.net.URL("file",null,tempDir); | |
java.net.URL file = new java.net.URL("jar",null,TEMP_SITE.toExternalForm()+"!/feature.xml"); | |
file.openStream(); | |
file | |
java.io.File f = new java.io.File("c:\\temp\\xtf\\file.jar"); | |
f.mkdirs() | |
java.util.Locale.getDefault() | |
java.util.ResourceBundle | |
java.net.URL url = new java.net.URL("file",null,"C:\\path"+java.io.File.separator); | |
url.getPath().endsWith("/"); | |
url | |
java.net.URL url = new java.net.URL("file:C:\\path"); | |
url | |
java.lang.ClassLoader l = new java.net.URLClassLoader(new java.net.URL[] {new java.net.URL("file",null,"c:\\oti\\wsw205\\eclipse\\install\\features\\org.eclipse.help.feature_1.0.4/") }, null); | |
java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("feature", java.util.Locale.getDefault(), l); | |
bundle | |