--- /dev/null
+package org.tizen.common.file;\r
+\r
+import java.io.IOException;\r
+import java.io.InputStream;\r
+import java.util.Collection;\r
+\r
+public class\r
+ClasspathFileHandler\r
+extends AbstractFileHandler\r
+{\r
+ protected String cwd;\r
+\r
+ @Override\r
+ public String getCurrentWorkingDirectory()\r
+ {\r
+ return cwd;\r
+ }\r
+\r
+ @Override\r
+ public void setCurrentWorkingDirectory(String cwd)\r
+ {\r
+ this.cwd = cwd;\r
+ }\r
+\r
+ @Override\r
+ public void makeDirectory(String path) throws IOException\r
+ {\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ @Override\r
+ public void moveDirectory(String source, String target) throws IOException\r
+ {\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ @Override\r
+ public void copyDirectory(String source, String target) throws IOException\r
+ {\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ @Override\r
+ public void removeDirectory(String path) throws IOException\r
+ {\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ @Override\r
+ public Collection<String> list(String path) throws IOException\r
+ {\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ @Override\r
+ public void write(String path, InputStream out) throws IOException\r
+ {\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ @Override\r
+ public InputStream read(String path) throws IOException\r
+ {\r
+ // TODO Auto-generated method stub\r
+ return null;\r
+ }\r
+\r
+ @Override\r
+ public void moveFile(String source, String target) throws IOException\r
+ {\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ @Override\r
+ public void copyFile(String source, String target) throws IOException\r
+ {\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ @Override\r
+ public void removeFile(String path) throws IOException\r
+ {\r
+ throw new UnsupportedOperationException();\r
+ }\r
+\r
+ @Override\r
+ public Object get(String path, Attribute name) throws IOException\r
+ {\r
+ // TODO Auto-generated method stub\r
+ return null;\r
+ }\r
+\r
+ @Override\r
+ public void set(String path, Attribute name, Object value)\r
+ throws IOException\r
+ {\r
+ // TODO Auto-generated method stub\r
+ \r
+ }\r
+\r
+}\r
ImageUtil.pluginSurrogate = null;
ImageUtil.platformSurrogate = null;
- if ( null == oldConfig )
+ if ( null == oldConfig )
{
- System.getProperties().remove( PROP_PKG );
- return ;
+ System.clearProperty( PROP_PKG );
+ }
+ else
+ {
+ System.setProperty( PROP_PKG, oldConfig );
}
- System.setProperty( PROP_PKG, oldConfig );
}
/**