org.nuiton.scmwebeditor
Class SvnConnection

java.lang.Object
  extended by org.nuiton.scmwebeditor.SvnConnection

public class SvnConnection
extends Object


Field Summary
protected  String addressSvn
          full svn path
protected  org.tmatesoft.svn.core.auth.ISVNAuthenticationManager authManager
          AuthenticationManager with login and password
protected  File checkoutdir
          Temp directory for checkout
protected  String fileName
          fileName of modif file
protected  org.tmatesoft.svn.core.wc.SVNClientManager manager
           
protected  org.tmatesoft.svn.core.SVNURL remoteUrl
          url of svn path
protected  String repositoryId
           
protected  org.tmatesoft.svn.core.internal.wc.DefaultSVNOptions svnOption
          svn default option
protected  String svnPath
          svn path without fileName
 
Constructor Summary
SvnConnection(String address)
           
 
Method Summary
 void createCheckoutdir()
           
 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager getAuthManager()
           
 File getCheckoutdir()
           
 ByteArrayOutputStream getDiff(String text)
           
 String getFileName()
           
 org.tmatesoft.svn.core.wc.SVNClientManager getManager()
           
 org.tmatesoft.svn.core.SVNURL getRemoteUrl()
           
 String getRepositoryId()
           
 org.tmatesoft.svn.core.internal.wc.DefaultSVNOptions getSvnOption()
           
 String getSvnPath()
           
 String getSvnRoot()
           
 String getUUID()
           
 boolean isDifferent(String text)
           
 void setAuthManager(org.tmatesoft.svn.core.auth.ISVNAuthenticationManager authManager)
           
 void setCheckoutdir(File checkoutdir)
           
 void setFileName(String fileName)
           
 void setManager(org.tmatesoft.svn.core.wc.SVNClientManager manager)
           
 void setRemoteUrl(org.tmatesoft.svn.core.SVNURL remoteUrl)
           
 void setRepositoryId(String repositoryId)
           
 void setSvnOption(org.tmatesoft.svn.core.internal.wc.DefaultSVNOptions svnOption)
           
 void setSvnPath(String svnPath)
           
 void testConnection()
           
 void updateAuthentication(String login, String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

addressSvn

protected String addressSvn
full svn path


svnPath

protected String svnPath
svn path without fileName


fileName

protected String fileName
fileName of modif file


checkoutdir

protected File checkoutdir
Temp directory for checkout


remoteUrl

protected org.tmatesoft.svn.core.SVNURL remoteUrl
url of svn path


authManager

protected org.tmatesoft.svn.core.auth.ISVNAuthenticationManager authManager
AuthenticationManager with login and password


svnOption

protected org.tmatesoft.svn.core.internal.wc.DefaultSVNOptions svnOption
svn default option


manager

protected org.tmatesoft.svn.core.wc.SVNClientManager manager

repositoryId

protected String repositoryId
Constructor Detail

SvnConnection

public SvnConnection(String address)
              throws StringIndexOutOfBoundsException
Throws:
StringIndexOutOfBoundsException
Method Detail

updateAuthentication

public void updateAuthentication(String login,
                                 String password)

getUUID

public String getUUID()
Returns:

getSvnRoot

public String getSvnRoot()
Returns:

testConnection

public void testConnection()
                    throws org.tmatesoft.svn.core.SVNException
Throws:
org.tmatesoft.svn.core.SVNException

isDifferent

public boolean isDifferent(String text)
                    throws IOException
Throws:
IOException

getDiff

public ByteArrayOutputStream getDiff(String text)
                              throws IOException
Throws:
IOException

getAuthManager

public org.tmatesoft.svn.core.auth.ISVNAuthenticationManager getAuthManager()

setAuthManager

public void setAuthManager(org.tmatesoft.svn.core.auth.ISVNAuthenticationManager authManager)

getCheckoutdir

public File getCheckoutdir()

createCheckoutdir

public void createCheckoutdir()
                       throws IOException
Throws:
IOException

setCheckoutdir

public void setCheckoutdir(File checkoutdir)

getFileName

public String getFileName()

setFileName

public void setFileName(String fileName)

getManager

public org.tmatesoft.svn.core.wc.SVNClientManager getManager()

setManager

public void setManager(org.tmatesoft.svn.core.wc.SVNClientManager manager)

getRemoteUrl

public org.tmatesoft.svn.core.SVNURL getRemoteUrl()

setRemoteUrl

public void setRemoteUrl(org.tmatesoft.svn.core.SVNURL remoteUrl)

getSvnOption

public org.tmatesoft.svn.core.internal.wc.DefaultSVNOptions getSvnOption()

setSvnOption

public void setSvnOption(org.tmatesoft.svn.core.internal.wc.DefaultSVNOptions svnOption)

getSvnPath

public String getSvnPath()

setSvnPath

public void setSvnPath(String svnPath)

getRepositoryId

public String getRepositoryId()

setRepositoryId

public void setRepositoryId(String repositoryId)


Copyright © 2009-2011 CodeLutin. All Rights Reserved.