P4Java Perforce Java Library 2009.2.234487

Perforce's P4Java is a Java-native API for accessing Perforce's SCM services in a Java-natural and Java-native way.

See:
          Description

Packages
com.perforce.p4java Defines the root of the Perforce P4Java API product package hierarchy and a small handful of useful product-wide definitions and services such as loggers, tracers, and product metadata.
com.perforce.p4java.admin  
com.perforce.p4java.client Provides interfaces for accessing and manipulating Perforce client workspaces and associated objects.
com.perforce.p4java.core Provides interfaces and classes for defining and accessing Perforce objects such as jobs, changelists, etc., and, through the file sub-package, Perforce files.
com.perforce.p4java.core.file Provides interfaces and classes for defining and accessing Perforce depot and workspace files.
com.perforce.p4java.exception Provides exception and error classes for signaling and handling user, internal, and Perforce server errors.
com.perforce.p4java.impl.generic.admin  
com.perforce.p4java.impl.generic.client Provides standard implementation classes for the com.perforce.p4java.client interfaces.
com.perforce.p4java.impl.generic.core Provides standard implementation classes for the com.perforce.p4java.core interfaces.
com.perforce.p4java.impl.generic.core.file Provides standard implementation classes for the com.perforce.p4java.core.file interfaces.
com.perforce.p4java.impl.generic.sys Provides one or more "helper" and other classes to assist P4Java with typical operating system operations that can not always be done efficiently (or at all) in Java.
com.perforce.p4java.impl.mapbased.client  
com.perforce.p4java.server Provides interfaces and classes for accessing Perforce SCM servers and associated server-level services.
com.perforce.p4java.server.callback Provides interfaces and classes for defining and accessing Perforce server callbacks for things like logging, command progress, single sign on (SSO) authentication, etc.

 

Perforce's P4Java is a Java-native API for accessing Perforce's SCM services in a Java-natural and Java-native way.

P4Java presents Perforce services and Perforce-managed resources and files as first-class Java interfaces, classes, methods, and objects, rather than as simple strings or command-line-like functions. This approach reduces the impedance mismatch between Java and Perforce, and makes it easier to integrate the API into Java applications and tools; it is particularly useful for integrating into model-view-controller (MVC) contexts and workflows.

P4Java is aimed mostly at the following types of Java development:

P4Java is aimed at JDK 6 and later environments, but will work with some limitations against a JDK 5 installation (see the related P4Java User Guide for details)..

Related Documentation



Copyright (c) 2008-2010 Perforce Software. All rights reserved.