diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.io/src/org/eclipse/equinox/internal/io/RandomAccessConnection.java')
-rw-r--r-- | bundles/org.eclipse.equinox.io/src/org/eclipse/equinox/internal/io/RandomAccessConnection.java | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/bundles/org.eclipse.equinox.io/src/org/eclipse/equinox/internal/io/RandomAccessConnection.java b/bundles/org.eclipse.equinox.io/src/org/eclipse/equinox/internal/io/RandomAccessConnection.java deleted file mode 100644 index c550e5e7f..000000000 --- a/bundles/org.eclipse.equinox.io/src/org/eclipse/equinox/internal/io/RandomAccessConnection.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 1997-2007 by ProSyst Software GmbH - * http://www.prosyst.com - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * ProSyst Software GmbH - initial API and implementation - *******************************************************************************/ -package org.eclipse.equinox.internal.io; - -import java.io.*; -import javax.microedition.io.InputConnection; -import javax.microedition.io.OutputConnection; - -/** - * @author Pavlin Dobrev - * @version 1.0 - */ - -public interface RandomAccessConnection extends InputConnection, OutputConnection, DataInput, DataOutput { - - public long length() throws IOException; - - public long getFilePointer() throws IOException; - - public boolean isSelected(); - - public int read() throws IOException; - - public int read(byte[] buff, int off, int len) throws IOException; - - public void seek(long len) throws IOException; - - public void write(int b) throws IOException; - - public void write(byte[] buff, int off, int len) throws IOException; - - public void flush() throws IOException; -} |