public static String[] getVFSs() { List returnValue = new LinkedList(); String[] newAPI = ServiceManager.getServiceNames(SERVICE); if (newAPI != null) { for (int i = 0; i < newAPI.length; i++) { returnValue.add(newAPI[i]); } } Enumeration oldAPI = vfsHash.keys(); while (oldAPI.hasMoreElements()) returnValue.add(oldAPI.nextElement()); return (String[]) returnValue.toArray(new String[returnValue.size()]); }