org.jboss.osgi.vfs
Class VFSUtils
java.lang.Object
org.jboss.osgi.vfs.VFSUtils
public final class VFSUtils
- extends Object
Some VFS utilities that are used by the OSGi layer.
- Since:
- 02-Mar-2010
- Author:
- thomas.diesler@jboss.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getManifest
public static Manifest getManifest(VirtualFile archive)
throws IOException
- Throws:
IOException
copyStream
public static void copyStream(InputStream is,
OutputStream os)
throws IOException
- Throws:
IOException
safeClose
public static void safeClose(Closeable c)
- Safely close some resource without throwing an exception.
Any exception will be logged at TRACE level.
getPathFromClassName
public static String getPathFromClassName(String className)
getPathFromPackageName
public static String getPathFromPackageName(String packageName)
Copyright © 2012. All Rights Reserved.