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: 2008/01/28 $ $Revision: #8 $
- Author:
- David Markley
Constructor Summary |
P4JNI()
|
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
runCommand
public void runCommand(Object listener,
String[] cmd,
Env environ)
Copyright © 2008, Perforce Software, All rights reserved.