Sha256: 091df3803a803becf092b86a77914bbfe146b20a156a1e64e65ac094b69a7b7a

Contents?: true

Size: 1.58 KB

Versions: 119

Compression:

Stored size: 1.58 KB

Contents

package j2me.io;

import java.io.*;
import j2me.nio.channels.*;

public class RandomAccessFile  
{
    public RandomAccessFile(String name, String mode)
        throws FileNotFoundException
    {
        this(name != null ? new File(name) : null, mode);
    }
        
    public RandomAccessFile(File file, String mode)
        throws FileNotFoundException
    {
    }
    
    public void setLength(long newLength) throws IOException
    {
        //TODO: setLength
        throw new RuntimeException("Not Implemented");
    }
    public void seek(long pos) throws IOException
    {
        //TODO: seek
        throw new RuntimeException("Not Implemented");
    }
    public long length() throws IOException
    {
        //TODO: length
        throw new RuntimeException("Not Implemented");
        //return 0;
    }
    public long getFilePointer() throws IOException
    {
        //TODO: getFilePointer
        throw new RuntimeException("Not Implemented");
        //return 0;
    }
    public void close() throws IOException {
        //TODO: close
        throw new RuntimeException("Not Implemented");
    }
    public final FileChannel getChannel() {
        return new FileChannel();
    }
    public final void writeBytes(String s) throws IOException {
                throw new IOException();
                //TODO: writeBytes
    }
    public int read(byte b[]) throws IOException {
                throw new IOException();
                //TODO: read
    }
    public final String readLine() throws IOException {
                throw new IOException();
                //TODO: readLine
        
    }
}

Version data entries

119 entries across 119 versions & 1 rubygems

Version Path
rhodes-3.3.0.beta.2 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.3.0.beta.1 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.2.3 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.2.2 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.2.2.beta platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.2.1 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.2.0 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.2.0.beta.9 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.2.0.beta.8 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.2.0.beta.7 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.2.0.beta.6 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.2.0.beta.5 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.2.0.beta.4 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.2.0.beta.2 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.2.0.beta.1 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.1.1 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.1.1.beta platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.1.0 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.1.0.beta.5 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java
rhodes-3.1.0.beta.4 platform/bb/RubyVM/src/j2me/io/RandomAccessFile.java