public final class BackendFile extends BackendResource
BackendResource.Type, BackendResource.Visitor
RESOURCE_SCHEME
Modifier and Type | Method and Description |
---|---|
byte[] |
getContentBytes(IProgressMonitor monitor) |
InputStream |
getContents(IProgressMonitor monitor) |
BackendResource.Type |
getType() |
accept, equals, exists, get, get, getAbsoluteURI, getDelegate, getLastModified, getLocation, getName, getParent, getRelativePath, getRelativeURI, getSystem, getSystemRelativePath, getSystemRelativeURI, hashCode, isContainer, isLocal, toString
public BackendResource.Type getType()
getType
in class BackendResource
public InputStream getContents(IProgressMonitor monitor) throws BackendException, OperationCanceledException, IOException
public byte[] getContentBytes(IProgressMonitor monitor) throws BackendException, OperationCanceledException, IOException
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