FileEntry.html #4

  • //
  • public/
  • perforce/
  • api/
  • java/
  • p4package/
  • docs/
  • com/
  • perforce/
  • api/
  • FileEntry.html
  • View
  • Commits
  • Open Download .zip Download (67 KB)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Mon Jan 28 16:39:33 EST 2002 -->
<TITLE>
Perforce API: Class  FileEntry
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/FileEntry.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<a target="_top" href="http://www.perforce.com/"><img alt="Perforce" border="0" height="44" width="151" src="doc-files/perforce_logo.gif"></a></EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../com/perforce/api/EventLog.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/perforce/api/HashDecay.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="FileEntry.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.perforce.api</FONT>
<BR>
Class  FileEntry</H2>
<PRE>
<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html">java.lang.Object</A>
  |
  +--<A HREF="../../../com/perforce/api/SourceControlObject.html">com.perforce.api.SourceControlObject</A>
        |
        +--<B>com.perforce.api.FileEntry</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../com/perforce/api/Cacheable.html">Cacheable</A></DD>
</DL>
<HR>
<DL>
<DT>public final class <B>FileEntry</B><DT>extends <A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></DL>

<P>
Representation of a source control file.
<P>
<DL>
<DT><B>Version: </B><DD>$Date: 2002/01/28 $ $Revision: #4 $</DD>
<DT><B>Author: </B><DD><a href="mailto:[email protected]">David Markley</a></DD>
<DT><B>See Also: </B><DD><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Hashtable.html"><CODE>Hashtable</CODE></A></DL>
<HR>

<P>
<!-- ======== INNER CLASS SUMMARY ======== -->


<!-- =========== FIELD SUMMARY =========== -->


<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#FileEntry()">FileEntry</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default no-argument constructor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#FileEntry(com.perforce.api.Env)">FileEntry</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a file entry using the environment.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#FileEntry(com.perforce.api.Env, java.lang.String)">FileEntry</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
          <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a file entry using the environment and path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#FileEntry(java.lang.String)">FileEntry</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a file entry using the path.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#checkIn(com.perforce.api.Env, java.lang.String, java.lang.String)">checkIn</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
        <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path,
        <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;description)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks in a file that has already been opened on the client using the
 description given.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#commit()">commit</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;No-op.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#customizePath(java.lang.String, char, char)">customizePath</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;str,
              char&nbsp;from_char,
              char&nbsp;to_char)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the path after converting characters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#depotizePath(java.lang.String)">depotizePath</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the path in depot format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/perforce/api/HashDecay.html">HashDecay</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getCache()">getCache</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the HashDecay instance for this class</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getClientPath()">getClientPath</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the client path for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getDepotPath()">getDepotPath</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the depot path for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getDescription()">getDescription</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the decription for this file</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getFile(java.lang.String)">getFile</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the file information for the specified path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getFileContents()">getFileContents</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <code>String</code> that contains this file's contents.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getFileContents(com.perforce.api.Env, java.lang.String)">getFileContents</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
                <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <code>String</code> that contains this file's contents.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getFileLog(com.perforce.api.Env, java.lang.String)">getFileLog</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
           <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of <code>FileEntry</code> objects that represent the
 history of the specified file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getFiles(com.perforce.api.Env, java.lang.String)">getFiles</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
         <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the list of files for the path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getHaveRev()">getHaveRev</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the revision number the client has for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getHeadAction()">getHeadAction</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the head revision action for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getHeadChange()">getHeadChange</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the head revision change number for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getHeadDate()">getHeadDate</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a String representation of date for the head revsision of the
 file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getHeadRev()">getHeadRev</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the head revision number for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getHeadTime()">getHeadTime</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the head revision time for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getHeadTimeString()">getHeadTimeString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the head revision time as a <code>String</code> for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getHeadType()">getHeadType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the head revision type for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getName()">getName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the file name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getOpened()">getOpened</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of files that are open for edit or add.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getOpened(com.perforce.api.Env, boolean)">getOpened</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
          boolean&nbsp;stat)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of files that are open for edit or add.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getOpened(com.perforce.api.Env, boolean, boolean, int, java.util.Vector)">getOpened</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
          boolean&nbsp;stat,
          boolean&nbsp;all,
          int&nbsp;changelist,
          <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A>&nbsp;files)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of files that are open for edit or add.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getOwner()">getOwner</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the owner for this file</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#getSource()">getSource</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the source file entry associated with this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#localizePath(java.lang.String)">localizePath</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the path in local format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#obtainLock()">obtainLock</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtains the lock for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#openForAdd()">openForAdd</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Opens this file for addition.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#openForAdd(com.perforce.api.Change)">openForAdd</A></B>(<A HREF="../../../com/perforce/api/Change.html">Change</A>&nbsp;chng)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Opens this file for addition.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#openForAdd(com.perforce.api.Env, java.lang.String, com.perforce.api.Change)">openForAdd</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
           <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path,
           <A HREF="../../../com/perforce/api/Change.html">Change</A>&nbsp;chng)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Opens the file on the path for add under the change.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#openForEdit()">openForEdit</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Opens this file for edit.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#openForEdit(boolean, boolean)">openForEdit</A></B>(boolean&nbsp;force,
            boolean&nbsp;lock)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Opens this file for edit.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#openForEdit(boolean, boolean, com.perforce.api.Change)">openForEdit</A></B>(boolean&nbsp;force,
            boolean&nbsp;lock,
            <A HREF="../../../com/perforce/api/Change.html">Change</A>&nbsp;chng)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Opens this file for edit.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#openForEdit(com.perforce.api.Env, java.lang.String, boolean, boolean, boolean, com.perforce.api.Change)">openForEdit</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
            <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path,
            boolean&nbsp;sync,
            boolean&nbsp;force,
            boolean&nbsp;lock,
            <A HREF="../../../com/perforce/api/Change.html">Change</A>&nbsp;chng)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Opens the file on the path for edit under the change.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#reopen(java.lang.String, com.perforce.api.Change)">reopen</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;type,
       <A HREF="../../../com/perforce/api/Change.html">Change</A>&nbsp;chng)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reopens the file with the new type or in the new change list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#resolve(boolean)">resolve</A></B>(boolean&nbsp;force)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resolves this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#resolveAll(com.perforce.api.Env, java.lang.String, java.lang.String)">resolveAll</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
           <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;flags,
           <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resolves all the files in the path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#resolveAT(com.perforce.api.Env, java.util.Enumeration)">resolveAT</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
          <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Enumeration.html">Enumeration</A>&nbsp;en)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Forces a resolve on a set of files.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#revert()">revert</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reverts this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#setClientPath(java.lang.String)">setClientPath</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the client path for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#setDepotPath(java.lang.String)">setDepotPath</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the depot path for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#setDescription(java.lang.String)">setDescription</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;d)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the decription for this file</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#setHaveRev(int)">setHaveRev</A></B>(int&nbsp;rev)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the revision number the client has for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#setHeadAction(java.lang.String)">setHeadAction</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;action)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the head revision action for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#setHeadChange(int)">setHeadChange</A></B>(int&nbsp;change)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the head revision change number for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#setHeadDate(java.lang.String)">setHeadDate</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;date)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the head date for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#setHeadRev(int)">setHeadRev</A></B>(int&nbsp;rev)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the head revision number for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#setHeadTime(long)">setHeadTime</A></B>(long&nbsp;time)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the head revision time for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#setHeadType(java.lang.String)">setHeadType</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the head revision type for this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#setOwner(java.lang.String)">setOwner</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;o)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the owner for this file</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#setSource(com.perforce.api.FileEntry)">setSource</A></B>(<A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A>&nbsp;fent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the source file entry associated with this file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#sync()">sync</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings this object back into sync with Perforce.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#syncWorkspace(com.perforce.api.Env, java.lang.String)">syncWorkspace</A></B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
              <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Synchronizes the workspace.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#toString()">toString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/perforce/api/FileEntry.html#toXML()">toXML</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string containing the object in XML form.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.perforce.api.SourceControlObject"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class com.perforce.api.<A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../com/perforce/api/SourceControlObject.html#clearCache()">clearCache</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#getEnv()">getEnv</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#getSyncTime()">getSyncTime</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#getUpdateTime()">getUpdateTime</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#inSync()">inSync</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#invalidate()">invalidate</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#outOfSync(long)">outOfSync</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#refreshUpdateTime()">refreshUpdateTime</A>, <A HREF="../../../com/perforce/api/SourceControlObject.html#setEnv(com.perforce.api.Env)">setEnv</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html">Object</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="FileEntry()"><!-- --></A><H3>
FileEntry</H3>
<PRE>
public <B>FileEntry</B>()</PRE>
<DL>
<DD>Default no-argument constructor.</DL>
<HR>

<A NAME="FileEntry(com.perforce.api.Env)"><!-- --></A><H3>
FileEntry</H3>
<PRE>
public <B>FileEntry</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env)</PRE>
<DL>
<DD>Constructs a file entry using the environment.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>env</CODE> - Source control environement to use.</DL>
</DD>
</DL>
<HR>

<A NAME="FileEntry(com.perforce.api.Env, java.lang.String)"><!-- --></A><H3>
FileEntry</H3>
<PRE>
public <B>FileEntry</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
                 <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;p)</PRE>
<DL>
<DD>Constructs a file entry using the environment and path.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>env</CODE> - Source control environement to use.<DD><CODE>p</CODE> - Path to the file.</DL>
</DD>
</DL>
<HR>

<A NAME="FileEntry(java.lang.String)"><!-- --></A><H3>
FileEntry</H3>
<PRE>
public <B>FileEntry</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;p)</PRE>
<DL>
<DD>Constructs a file entry using the path.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p</CODE> - Path to the file.</DL>
</DD>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="checkIn(com.perforce.api.Env, java.lang.String, java.lang.String)"><!-- --></A><H3>
checkIn</H3>
<PRE>
public static <A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A> <B>checkIn</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
                                <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path,
                                <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;description)
                         throws <A HREF="../../../com/perforce/api/PerforceException.html">PerforceException</A></PRE>
<DL>
<DD>Checks in a file that has already been opened on the client using the
 description given. A new changelist is created and used for this
 submission. The returned <code>FileEntry</code> contains the latest
 information for the checked-in file.</DL>
<HR>

<A NAME="commit()"><!-- --></A><H3>
commit</H3>
<PRE>
public void <B>commit</B>()</PRE>
<DL>
<DD>No-op. This makes no sense for a FileEntry.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/perforce/api/SourceControlObject.html#commit()">commit</A></CODE> in class <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="customizePath(java.lang.String, char, char)"><!-- --></A><H3>
customizePath</H3>
<PRE>
public static <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>customizePath</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;str,
                                   char&nbsp;from_char,
                                   char&nbsp;to_char)</PRE>
<DL>
<DD>Returns the path after converting characters.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>str</CODE> - String to convert.<DD><CODE>from_char</CODE> - Character to be changed from.<DD><CODE>to_char</CODE> - Character to be changed to.</DL>
</DD>
</DL>
<HR>

<A NAME="depotizePath(java.lang.String)"><!-- --></A><H3>
depotizePath</H3>
<PRE>
public static <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>depotizePath</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)</PRE>
<DL>
<DD>Returns the path in depot format. Uses the depot delimeter: '/'.</DL>
<HR>

<A NAME="getCache()"><!-- --></A><H3>
getCache</H3>
<PRE>
public <A HREF="../../../com/perforce/api/HashDecay.html">HashDecay</A> <B>getCache</B>()</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></B></DD>
<DD>Returns the HashDecay instance for this class<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/perforce/api/SourceControlObject.html#getCache()">getCache</A></CODE> in class <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getClientPath()"><!-- --></A><H3>
getClientPath</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getClientPath</B>()</PRE>
<DL>
<DD>Returns the client path for this file.</DL>
<HR>

<A NAME="getDepotPath()"><!-- --></A><H3>
getDepotPath</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getDepotPath</B>()</PRE>
<DL>
<DD>Returns the depot path for this file.</DL>
<HR>

<A NAME="getDescription()"><!-- --></A><H3>
getDescription</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getDescription</B>()</PRE>
<DL>
<DD>Returns the decription for this file</DL>
<HR>

<A NAME="getFile(java.lang.String)"><!-- --></A><H3>
getFile</H3>
<PRE>
public static <A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A> <B>getFile</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;p)</PRE>
<DL>
<DD>Gets the file information for the specified path.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p</CODE> - Path of the file to gather information about.</DL>
</DD>
</DL>
<HR>

<A NAME="getFileContents()"><!-- --></A><H3>
getFileContents</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getFileContents</B>()</PRE>
<DL>
<DD>Returns a <code>String</code> that contains this file's contents. This
 only works well for text files.</DL>
<HR>

<A NAME="getFileContents(com.perforce.api.Env, java.lang.String)"><!-- --></A><H3>
getFileContents</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getFileContents</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
                              <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)</PRE>
<DL>
<DD>Returns a <code>String</code> that contains this file's contents. This
 only works well for text files.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>env</CODE> - Source control environment.<DD><CODE>path</CODE> - Path to the file. Must be specific. No wildcards.</DL>
</DD>
</DL>
<HR>

<A NAME="getFileLog(com.perforce.api.Env, java.lang.String)"><!-- --></A><H3>
getFileLog</H3>
<PRE>
public static <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A> <B>getFileLog</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
                                <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)</PRE>
<DL>
<DD>Returns a list of <code>FileEntry</code> objects that represent the
 history of the specified file.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>env</CODE> - Source control environment to use.<DD><CODE>path</CODE> - Path to the file. Must be specific. No wildcards.</DL>
</DD>
</DL>
<HR>

<A NAME="getFiles(com.perforce.api.Env, java.lang.String)"><!-- --></A><H3>
getFiles</H3>
<PRE>
public static <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A> <B>getFiles</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
                              <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)</PRE>
<DL>
<DD>Returns the list of files for the path. The path may include wildcards.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>env</CODE> - Source control environment to use.<DD><CODE>path</CODE> - Path for set of files.</DL>
</DD>
</DL>
<HR>

<A NAME="getHaveRev()"><!-- --></A><H3>
getHaveRev</H3>
<PRE>
public int <B>getHaveRev</B>()</PRE>
<DL>
<DD>Returns the revision number the client has for this file.</DL>
<HR>

<A NAME="getHeadAction()"><!-- --></A><H3>
getHeadAction</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getHeadAction</B>()</PRE>
<DL>
<DD>Returns the head revision action for this file.</DL>
<HR>

<A NAME="getHeadChange()"><!-- --></A><H3>
getHeadChange</H3>
<PRE>
public int <B>getHeadChange</B>()</PRE>
<DL>
<DD>Returns the head revision change number for this file.</DL>
<HR>

<A NAME="getHeadDate()"><!-- --></A><H3>
getHeadDate</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getHeadDate</B>()</PRE>
<DL>
<DD>Returns a String representation of date for the head revsision of the
 file. The format is yyyy/MM/dd.</DL>
<HR>

<A NAME="getHeadRev()"><!-- --></A><H3>
getHeadRev</H3>
<PRE>
public int <B>getHeadRev</B>()</PRE>
<DL>
<DD>Returns the head revision number for this file.</DL>
<HR>

<A NAME="getHeadTime()"><!-- --></A><H3>
getHeadTime</H3>
<PRE>
public long <B>getHeadTime</B>()</PRE>
<DL>
<DD>Returns the head revision time for this file.</DL>
<HR>

<A NAME="getHeadTimeString()"><!-- --></A><H3>
getHeadTimeString</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getHeadTimeString</B>()</PRE>
<DL>
<DD>Returns the head revision time as a <code>String</code> for this file.</DL>
<HR>

<A NAME="getHeadType()"><!-- --></A><H3>
getHeadType</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getHeadType</B>()</PRE>
<DL>
<DD>Returns the head revision type for this file.</DL>
<HR>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getName</B>()</PRE>
<DL>
<DD>Returns the file name.</DL>
<HR>

<A NAME="getOpened()"><!-- --></A><H3>
getOpened</H3>
<PRE>
public static <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A> <B>getOpened</B>()</PRE>
<DL>
<DD>Returns a list of files that are open for edit or add. The list is
 a <code>Vectore</code> of <code>FileEntry</code> objects.
 The only information that is valid for the object will be the path,
 until the <A HREF="../../../com/perforce/api/FileEntry.html#sync()"><CODE>sync</CODE></A> method is called.</DL>
<HR>

<A NAME="getOpened(com.perforce.api.Env, boolean)"><!-- --></A><H3>
getOpened</H3>
<PRE>
public static <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A> <B>getOpened</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
                               boolean&nbsp;stat)</PRE>
<DL>
<DD>Returns a list of files that are open for edit or add. The list is
 a <code>Vectore</code> of <code>FileEntry</code> objects.
<p>
 Getting the stats for each <code>FileEntry</code> is a more expensive
 operation. By default, this is not done. What this means is that the
 only information that is valid for the object will be the path, until the
 <A HREF="../../../com/perforce/api/FileEntry.html#sync()"><CODE>sync</CODE></A> method is called.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>env</CODE> - Source control environment to use.<DD><CODE>stat</CODE> - Indicates that file statistics should be gathered.</DL>
</DD>
</DL>
<HR>

<A NAME="getOpened(com.perforce.api.Env, boolean, boolean, int, java.util.Vector)"><!-- --></A><H3>
getOpened</H3>
<PRE>
public static <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A> <B>getOpened</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
                               boolean&nbsp;stat,
                               boolean&nbsp;all,
                               int&nbsp;changelist,
                               <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Vector.html">Vector</A>&nbsp;files)</PRE>
<DL>
<DD>Returns a list of files that are open for edit or add. The list is
 a <code>Vector</code> of <code>FileEntry</code> objects.
<p>
 Getting the stats for each <code>FileEntry</code> is a more expensive
 operation. By default, this is not done. What this means is that the
 only information that is valid for the object will be the path, until the
 <A HREF="../../../com/perforce/api/FileEntry.html#sync()"><CODE>sync</CODE></A> method is called.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>env</CODE> - Source control environment to use.<DD><CODE>stat</CODE> - Indicates that file statistics should be gathered.<DD><CODE>all</CODE> - Indicates that all open files should be returned.<DD><CODE>changelist</CODE> - If non-zero, show files open in this changelist.<DD><CODE>files</CODE> - If non-null, show files open in this <code>Vector</code> of <code>FileEntry</code> objects.</DL>
</DD>
</DL>
<HR>

<A NAME="getOwner()"><!-- --></A><H3>
getOwner</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getOwner</B>()</PRE>
<DL>
<DD>Returns the owner for this file</DL>
<HR>

<A NAME="getSource()"><!-- --></A><H3>
getSource</H3>
<PRE>
public <A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A> <B>getSource</B>()</PRE>
<DL>
<DD>Returns the source file entry associated with this file.</DL>
<HR>

<A NAME="localizePath(java.lang.String)"><!-- --></A><H3>
localizePath</H3>
<PRE>
public static <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>localizePath</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)</PRE>
<DL>
<DD>Returns the path in local format. Uses the local path delimeter.</DL>
<HR>

<A NAME="obtainLock()"><!-- --></A><H3>
obtainLock</H3>
<PRE>
public void <B>obtainLock</B>()
                throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Exception.html">Exception</A></PRE>
<DL>
<DD>Obtains the lock for this file. The file must have been opened for
 edit prior to this method being called.</DL>
<HR>

<A NAME="openForAdd()"><!-- --></A><H3>
openForAdd</H3>
<PRE>
public void <B>openForAdd</B>()
                throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Exception.html">Exception</A></PRE>
<DL>
<DD>Opens this file for addition.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../../com/perforce/api/FileEntry.html#openForAdd(com.perforce.api.Env, java.lang.String, com.perforce.api.Change)"><CODE>openForAdd(Env, String, Change)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="openForAdd(com.perforce.api.Change)"><!-- --></A><H3>
openForAdd</H3>
<PRE>
public void <B>openForAdd</B>(<A HREF="../../../com/perforce/api/Change.html">Change</A>&nbsp;chng)
                throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Exception.html">Exception</A></PRE>
<DL>
<DD>Opens this file for addition.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../../com/perforce/api/FileEntry.html#openForAdd(com.perforce.api.Env, java.lang.String, com.perforce.api.Change)"><CODE>openForAdd(Env, String, Change)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="openForAdd(com.perforce.api.Env, java.lang.String, com.perforce.api.Change)"><!-- --></A><H3>
openForAdd</H3>
<PRE>
public static <A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A> <B>openForAdd</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
                                   <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path,
                                   <A HREF="../../../com/perforce/api/Change.html">Change</A>&nbsp;chng)
                            throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Exception.html">Exception</A></PRE>
<DL>
<DD>Opens the file on the path for add under the change. If the change is
 null, the file is opened under the default changelist.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>env</CODE> - P4 Environment<DD><CODE>path</CODE> - Depot or client path to the file being opened for add.<DD><CODE>chng</CODE> - The change that the file will be opened for add in.</DL>
</DD>
</DL>
<HR>

<A NAME="openForEdit()"><!-- --></A><H3>
openForEdit</H3>
<PRE>
public void <B>openForEdit</B>()
                 throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Exception.html">Exception</A></PRE>
<DL>
<DD>Opens this file for edit.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../../com/perforce/api/FileEntry.html#openForEdit(com.perforce.api.Env, java.lang.String, boolean, boolean, boolean, com.perforce.api.Change)"><CODE>openForEdit(Env, String, boolean, boolean, boolean, Change)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="openForEdit(boolean, boolean)"><!-- --></A><H3>
openForEdit</H3>
<PRE>
public void <B>openForEdit</B>(boolean&nbsp;force,
                        boolean&nbsp;lock)
                 throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Exception.html">Exception</A></PRE>
<DL>
<DD>Opens this file for edit.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../../com/perforce/api/FileEntry.html#openForEdit(com.perforce.api.Env, java.lang.String, boolean, boolean, boolean, com.perforce.api.Change)"><CODE>openForEdit(Env, String, boolean, boolean, boolean, Change)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="openForEdit(boolean, boolean, com.perforce.api.Change)"><!-- --></A><H3>
openForEdit</H3>
<PRE>
public void <B>openForEdit</B>(boolean&nbsp;force,
                        boolean&nbsp;lock,
                        <A HREF="../../../com/perforce/api/Change.html">Change</A>&nbsp;chng)
                 throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Exception.html">Exception</A></PRE>
<DL>
<DD>Opens this file for edit.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../../com/perforce/api/FileEntry.html#openForEdit(com.perforce.api.Env, java.lang.String, boolean, boolean, boolean, com.perforce.api.Change)"><CODE>openForEdit(Env, String, boolean, boolean, boolean, Change)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="openForEdit(com.perforce.api.Env, java.lang.String, boolean, boolean, boolean, com.perforce.api.Change)"><!-- --></A><H3>
openForEdit</H3>
<PRE>
public static <A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A> <B>openForEdit</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
                                    <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path,
                                    boolean&nbsp;sync,
                                    boolean&nbsp;force,
                                    boolean&nbsp;lock,
                                    <A HREF="../../../com/perforce/api/Change.html">Change</A>&nbsp;chng)
                             throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Exception.html">Exception</A></PRE>
<DL>
<DD>Opens the file on the path for edit under the change. If the change is
 null, the file is opened under the default changelist.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>env</CODE> - P4 Environment<DD><CODE>path</CODE> - Depot or client path to the file being opened for edit.<DD><CODE>sync</CODE> - If true, the file will be sync'd before opened for edit.<DD><CODE>force</CODE> - If true, the file will be opened for edit even if it isn't the most recent version.<DD><CODE>lock</CODE> - If true, the file will be locked once opened.<DD><CODE>chng</CODE> - The change that the file will be opened for edit in.</DL>
</DD>
</DL>
<HR>

<A NAME="reopen(java.lang.String, com.perforce.api.Change)"><!-- --></A><H3>
reopen</H3>
<PRE>
public void <B>reopen</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;type,
                   <A HREF="../../../com/perforce/api/Change.html">Change</A>&nbsp;chng)
            throws <A HREF="../../../com/perforce/api/PerforceException.html">PerforceException</A></PRE>
<DL>
<DD>Reopens the file with the new type or in the new change list.</DL>
<HR>

<A NAME="resolve(boolean)"><!-- --></A><H3>
resolve</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>resolve</B>(boolean&nbsp;force)
               throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>Resolves this file. If the force flag is false, and auto-resolve is
 attempted (p4 resolve -am). If the force flag is true, an "accept theirs"
 resolve is completed (p4 resolve -at).<DD><DL>
<DT><B>Parameters:</B><DD><CODE>force</CODE> - Indicates whether the resolve should be forces.</DL>
</DD>
</DL>
<HR>

<A NAME="resolveAll(com.perforce.api.Env, java.lang.String, java.lang.String)"><!-- --></A><H3>
resolveAll</H3>
<PRE>
public static <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>resolveAll</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
                                <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;flags,
                                <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)
                         throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>Resolves all the files in the path. The flags are used by the 'p4 resolve'
 command to resolve any files in the path. This is just a simple way to
 execute the 'p4 resolve' command.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>env</CODE> - Source control environment to use.<DD><CODE>flags</CODE> - 'p4 resolve' command flags.<DD><CODE>path</CODE> - Path over which to resolve. May include wildcards.</DL>
</DD>
</DL>
<HR>

<A NAME="resolveAT(com.perforce.api.Env, java.util.Enumeration)"><!-- --></A><H3>
resolveAT</H3>
<PRE>
public static <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>resolveAT</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
                               <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Enumeration.html">Enumeration</A>&nbsp;en)
                        throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>Forces a resolve on a set of files. The <code>Enumeration</code> contains
 the set of <code>FileEntry</code> objects that need resolved.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>env</CODE> - Source control environment to use.<DD><CODE>en</CODE> - <code>Enumeration</code> of <code>FileEntry</code>.</DL>
</DD>
</DL>
<HR>

<A NAME="revert()"><!-- --></A><H3>
revert</H3>
<PRE>
public boolean <B>revert</B>()</PRE>
<DL>
<DD>Reverts this file.</DL>
<HR>

<A NAME="setClientPath(java.lang.String)"><!-- --></A><H3>
setClientPath</H3>
<PRE>
public void <B>setClientPath</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;p)</PRE>
<DL>
<DD>Sets the client path for this file.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p</CODE> - path for this file on the client system.</DL>
</DD>
</DL>
<HR>

<A NAME="setDepotPath(java.lang.String)"><!-- --></A><H3>
setDepotPath</H3>
<PRE>
public void <B>setDepotPath</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;p)</PRE>
<DL>
<DD>Sets the depot path for this file.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p</CODE> - path for this file in the depot.</DL>
</DD>
</DL>
<HR>

<A NAME="setDescription(java.lang.String)"><!-- --></A><H3>
setDescription</H3>
<PRE>
public void <B>setDescription</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;d)</PRE>
<DL>
<DD>Sets the decription for this file</DL>
<HR>

<A NAME="setHaveRev(int)"><!-- --></A><H3>
setHaveRev</H3>
<PRE>
public void <B>setHaveRev</B>(int&nbsp;rev)</PRE>
<DL>
<DD>Sets the revision number the client has for this file.</DL>
<HR>

<A NAME="setHeadAction(java.lang.String)"><!-- --></A><H3>
setHeadAction</H3>
<PRE>
public void <B>setHeadAction</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;action)</PRE>
<DL>
<DD>Sets the head revision action for this file.</DL>
<HR>

<A NAME="setHeadChange(int)"><!-- --></A><H3>
setHeadChange</H3>
<PRE>
public void <B>setHeadChange</B>(int&nbsp;change)</PRE>
<DL>
<DD>Sets the head revision change number for this file.</DL>
<HR>

<A NAME="setHeadDate(java.lang.String)"><!-- --></A><H3>
setHeadDate</H3>
<PRE>
public void <B>setHeadDate</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;date)</PRE>
<DL>
<DD>Sets the head date for this file. The expected format for the date
 is yyyy/MM/dd. The time will default to 12:00:00 AM.</DL>
<HR>

<A NAME="setHeadRev(int)"><!-- --></A><H3>
setHeadRev</H3>
<PRE>
public void <B>setHeadRev</B>(int&nbsp;rev)</PRE>
<DL>
<DD>Sets the head revision number for this file.</DL>
<HR>

<A NAME="setHeadTime(long)"><!-- --></A><H3>
setHeadTime</H3>
<PRE>
public void <B>setHeadTime</B>(long&nbsp;time)</PRE>
<DL>
<DD>Sets the head revision time for this file.</DL>
<HR>

<A NAME="setHeadType(java.lang.String)"><!-- --></A><H3>
setHeadType</H3>
<PRE>
public void <B>setHeadType</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;type)</PRE>
<DL>
<DD>Sets the head revision type for this file.</DL>
<HR>

<A NAME="setOwner(java.lang.String)"><!-- --></A><H3>
setOwner</H3>
<PRE>
public void <B>setOwner</B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;o)</PRE>
<DL>
<DD>Sets the owner for this file</DL>
<HR>

<A NAME="setSource(com.perforce.api.FileEntry)"><!-- --></A><H3>
setSource</H3>
<PRE>
public void <B>setSource</B>(<A HREF="../../../com/perforce/api/FileEntry.html">FileEntry</A>&nbsp;fent)</PRE>
<DL>
<DD>Sets the source file entry associated with this file.</DL>
<HR>

<A NAME="sync()"><!-- --></A><H3>
sync</H3>
<PRE>
public void <B>sync</B>()</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></B></DD>
<DD>Brings this object back into sync with Perforce. This also sets the
 sets the update and sync time for this object.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/perforce/api/SourceControlObject.html#sync()">sync</A></CODE> in class <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="syncWorkspace(com.perforce.api.Env, java.lang.String)"><!-- --></A><H3>
syncWorkspace</H3>
<PRE>
public static <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>syncWorkspace</B>(<A HREF="../../../com/perforce/api/Env.html">Env</A>&nbsp;env,
                                   <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A>&nbsp;path)
                            throws <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>Synchronizes the workspace.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>env</CODE> - Source control environment.<DD><CODE>path</CODE> - Path to synchronize. May include wildcards.</DL>
</DD>
</DL>
<HR>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html">Object</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="toXML()"><!-- --></A><H3>
toXML</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>toXML</B>()</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></B></DD>
<DD>Returns a string containing the object in XML form.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/perforce/api/SourceControlObject.html#toXML()">toXML</A></CODE> in class <CODE><A HREF="../../../com/perforce/api/SourceControlObject.html">SourceControlObject</A></CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/FileEntry.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<a target="_top" href="http://www.perforce.com/"><img alt="Perforce" border="0" height="44" width="151" src="doc-files/perforce_logo.gif"></a></EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../com/perforce/api/EventLog.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/perforce/api/HashDecay.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="FileEntry.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<i><a href="doc-files/LICENSE.TXT">Copyright</a> &#169; 2001, Perforce Software, All rights reserved.</i>
</BODY>
</HTML>
# Change User Description Committed
#12 8157 michael Archiving legacy java api projects which predate the supported P4Java api.
#11 6433 Sivananda Poreddy Changing the communication preferences, and some documentation updates
#10 6166 Sivananda Poreddy Fixing problem with last check related to javadoc
#9 6164 Sivananda Poreddy Updating the javadoc to include all the new changes
#8 6141 Sivananda Poreddy Updating the p4package with fixes, some new features, jar update, and doc updates
#7 2002 David Markley Integrated the latest changes for p4package to the public depot.
#6 1888 David Markley Ingegrated the changes into the public depot.
#5 1808 David Markley Updated Env class and fixed fstat issues.
Published new Javadocs.
#4 1387 David Markley Added the ability to reopen files, add them to changelists, and updated the
documentation to reflect these changes.
#3 1361 David Markley Added convenience methods to the Env class.
#2 1334 David Markley Added more example code.
Added the Counter class.
Corrected the filelog methods for the FileEntry class.
#1 1043 David Markley Initial branch to public area.
//guest/david_markley/p4package/docs/com/perforce/api/FileEntry.html
#2 1037 David Markley Updated the documentation.
#1 1020 David Markley Added Perforce Java API documentation.
This is generated using JavaDoc.