Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * ====================================================================
  * Copyright (c) 2004-2006 TMate Software Ltd.  All rights reserved.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution.  The terms
  * are also available at http://svnkit.com/license.html
  * If newer versions of this license are posted there, you may use a
  * newer version instead, at your option.
 * ====================================================================
 */
package org.tmatesoft.svn.core.io;

The SVNLocationEntry represents a mapping of a path to its revision. That is, the repository path of an item in a particular revision.

Author(s):
TMate Software Ltd.
Version:
1.1.0
See also:
ISVNLocationEntryHandler
public class SVNLocationEntry {
    
    private long myRevision;
    private String myPath;
    
    
Constructs an SVNLocationEntry object.

Parameters:
revision a revision number
path an item's path in the reposytory in the revision
    public SVNLocationEntry(long revisionString path) {
         = revision;
         = path;
    }
    
    
Gets the path.

Returns:
a path
    public String getPath() {
        return ;
    }
    
    
Gets the revision number.

Returns:
a revision number.
    public long getRevision() {
        return ;
    }
New to GrepCode? Check out our FAQ X