Perforce

com.perforce.api
Class P4JNI

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.perforce.api.P4JNI
All Implemented Interfaces:
Runnable

public class P4JNI
extends Thread

This class handles the Java Native Interface to the P4 libraries.

Version:
$Date: 2002/08/05 $ $Revision: #6 $
Author:
David Markley

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
P4JNI()
           
 
Method Summary
 BufferedReader getReader()
           
 BufferedWriter getWriter()
           
 void in_close()
           
 void in_flush()
           
 void in_write(char[] cbuf, int off, int len)
           
 boolean isPiped()
           
static boolean isValid()
           
static void main(String[] args)
           
 int out_read(char[] cbuf, int off, int len)
           
 void run()
           
 void runCommand(Object listener, String[] cmd, Env environ)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

P4JNI

public P4JNI()
Method Detail

getReader

public BufferedReader getReader()

getWriter

public BufferedWriter getWriter()

in_close

public void in_close()

in_flush

public void in_flush()

in_write

public void in_write(char[] cbuf,
                     int off,
                     int len)

isPiped

public boolean isPiped()

isValid

public static boolean isValid()

main

public static void main(String[] args)

out_read

public int out_read(char[] cbuf,
                    int off,
                    int len)

run

public void run()
Overrides:
run in class Thread

runCommand

public void runCommand(Object listener,
                       String[] cmd,
                       Env environ)

Perforce

Copyright © 2001, Perforce Software, All rights reserved.