public static class OomphPlugin.BundleFile extends Object implements Comparable<OomphPlugin.BundleFile>
Modifier | Constructor and Description |
---|---|
protected |
OomphPlugin.BundleFile(String name,
boolean directory,
OomphPlugin.BundleFile parent) |
Modifier and Type | Method and Description |
---|---|
OomphPlugin.BundleFile |
addChild(String name,
boolean directory) |
int |
compareTo(OomphPlugin.BundleFile o) |
void |
export(File target) |
org.osgi.framework.Bundle |
getBundle() |
OomphPlugin.BundleFile |
getChild(String name) |
List<OomphPlugin.BundleFile> |
getChildren() |
InputStream |
getContents() |
String |
getContentsString() |
String |
getName() |
OomphPlugin.BundleFile |
getParent() |
String |
getPath() |
boolean |
isDirectory() |
void |
setContents(String contents) |
String |
toString() |
protected OomphPlugin.BundleFile(String name, boolean directory, OomphPlugin.BundleFile parent)
public org.osgi.framework.Bundle getBundle()
public String getName()
public boolean isDirectory()
public OomphPlugin.BundleFile getParent()
public String getPath()
public List<OomphPlugin.BundleFile> getChildren()
public OomphPlugin.BundleFile getChild(String name)
public OomphPlugin.BundleFile addChild(String name, boolean directory) throws IOException
IOException
public void export(File target)
public InputStream getContents()
public String getContentsString()
public void setContents(String contents)
public int compareTo(OomphPlugin.BundleFile o)
compareTo
in interface Comparable<OomphPlugin.BundleFile>
Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v20.html