public abstract class BackendResource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BackendResource.Type |
static interface |
BackendResource.Visitor |
Modifier and Type | Field and Description |
---|---|
static String |
RESOURCE_SCHEME |
Modifier and Type | Method and Description |
---|---|
void |
accept(BackendResource.Visitor visitor,
IProgressMonitor monitor) |
boolean |
equals(Object obj) |
boolean |
exists(IProgressMonitor monitor) |
static BackendResource |
get(String rootFolder) |
static BackendResource |
get(URI absoluteURI) |
URI |
getAbsoluteURI() |
Object |
getDelegate() |
long |
getLastModified(IProgressMonitor monitor) |
IPath |
getLocation() |
String |
getName() |
BackendContainer |
getParent() |
String |
getRelativePath(BackendContainer base) |
URI |
getRelativeURI(BackendContainer base) |
BackendSystem |
getSystem() |
String |
getSystemRelativePath() |
URI |
getSystemRelativeURI() |
abstract BackendResource.Type |
getType() |
int |
hashCode() |
boolean |
isContainer() |
boolean |
isLocal() |
String |
toString() |
public static final String RESOURCE_SCHEME
public final BackendSystem getSystem()
public abstract BackendResource.Type getType()
public final boolean isContainer()
public final String getName()
public final BackendContainer getParent() throws BackendException
BackendException
public final URI getAbsoluteURI() throws BackendException
BackendException
public final URI getSystemRelativeURI()
public final String getSystemRelativePath()
public final URI getRelativeURI(BackendContainer base)
public final String getRelativePath(BackendContainer base)
public final boolean isLocal() throws BackendException
BackendException
public final IPath getLocation() throws BackendException
BackendException
public final boolean exists(IProgressMonitor monitor) throws BackendException, OperationCanceledException
public final long getLastModified(IProgressMonitor monitor) throws BackendException, OperationCanceledException
public final Object getDelegate() throws BackendException
BackendException
public final void accept(BackendResource.Visitor visitor, IProgressMonitor monitor) throws BackendException, OperationCanceledException
public static BackendResource get(URI absoluteURI) throws BackendException
BackendException
public static BackendResource get(String rootFolder) throws BackendException
BackendException
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