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: 2003/12/02 $ $Revision: #1 $
- Author:
- David Markley
Constructor Summary |
P4JNI()
|
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 |
P4JNI
public P4JNI()
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)
Copyright © 2001, Perforce Software, All rights reserved.