Tabnine Logo
SVNEncodingUtil.uriEncode
Code IndexAdd Tabnine to your IDE (free)

How to use
uriEncode
method
in
org.tmatesoft.svn.core.internal.util.SVNEncodingUtil

Best Java code snippets using org.tmatesoft.svn.core.internal.util.SVNEncodingUtil.uriEncode (Showing top 20 results out of 315)

origin: sonia.svnkit/svnkit-dav

public DAVResponse(String description, String href, DAVResponse nextResponse, DAVPropsResult propResult, int statusCode) {
  myDescription = description;
  // encode href
  myHref = SVNEncodingUtil.uriEncode(href);
  myNextResponse = nextResponse;
  myStatusCode = statusCode;
  myPropResult = propResult;
}
origin: org.tmatesoft.svnkit/svnkit

public String getURL() {
  if (url == null && parentURL != null) {
    return SVNPathUtil.append(parentURL, SVNEncodingUtil.uriEncode(myName));
  }
  return url;
}
origin: org.tmatesoft.svnkit/svnkit

public DAVResource(ISVNWorkspaceMediator mediator, DAVConnection connection, String path, long revision, boolean isCopy) {
  myPath = path;
  myMediator = mediator;
  String locationPath = SVNEncodingUtil.uriEncode(connection.getLocation().getPath());
  myURL = SVNPathUtil.append(locationPath, path);
  myRevision = revision;
  myConnection = connection;
  myIsCopy = isCopy;
}
origin: org.codehaus.jtstand/jtstand-svnkit

public DAVResource(ISVNWorkspaceMediator mediator, DAVConnection connection, String path, long revision, boolean isCopy) {
  myPath = path;
  myMediator = mediator;
  String locationPath = SVNEncodingUtil.uriEncode(connection.getLocation().getPath());
  myURL = SVNPathUtil.append(locationPath, path);
  myRevision = revision;
  myConnection = connection;
  myIsCopy = isCopy;
}
origin: org.tmatesoft/svn

public DAVResource(ISVNWorkspaceMediator mediator, DAVConnection connection, String path, long revision, boolean isCopy) {
  myPath = path;
  myMediator = mediator;
  String locationPath = SVNEncodingUtil.uriEncode(connection.getLocation().getPath());
  myURL = SVNPathUtil.append(locationPath, path);
  myRevision = revision;
  myConnection = connection;
  myIsCopy = isCopy;
}
origin: org.jvnet.hudson.svnkit/svnkit

public DAVResource(ISVNWorkspaceMediator mediator, DAVConnection connection, String path, long revision, boolean isCopy) {
  myPath = path;
  myMediator = mediator;
  String locationPath = SVNEncodingUtil.uriEncode(connection.getLocation().getPath());
  myURL = SVNPathUtil.append(locationPath, path);
  myRevision = revision;
  myConnection = connection;
  myIsCopy = isCopy;
}
origin: org.tmatesoft.svnkit/svnkit

private boolean isCopiedAsAChild(File path, SVNEntry entry) throws SVNException {
  if (!entry.isScheduledForAddition() && entry.isCopied()) {
    return true;
  }
  if (entry.isScheduledForDeletion() && path != null) {
    return getCopyFromURL(path.getParentFile(), SVNEncodingUtil.uriEncode(entry.getName())) != null;
  }
  return false;
}
origin: org.tmatesoft/svn

public SVNLock getLock(String path) throws SVNException {
  try {
    openConnection();
    path = getFullPath(path);
    path = SVNEncodingUtil.uriEncode(path);
    return myConnection.doGetLock(path, this);
  } finally {
    closeConnection();
  }
}
origin: org.tmatesoft/svn

public SVNLock[] getLocks(String path) throws SVNException {
  try {
    openConnection();
    path = getFullPath(path);
    path = SVNEncodingUtil.uriEncode(path);
    return myConnection.doGetLocks(path);
  } finally {
    closeConnection();
  }
}
origin: org.tmatesoft.svnkit/svnkit

public SVNLock[] getLocks(String path) throws SVNException {
  try {
    openConnection();
    path = doGetFullPath(path);
    path = SVNEncodingUtil.uriEncode(path);
    DAVConnection connection = getConnection();
    return connection.doGetLocks(path);
  } finally {
    closeConnection();
  }
}
origin: org.jvnet.hudson.svnkit/svnkit

public SVNLock getLock(String path) throws SVNException {
  try {
    openConnection();
    path = doGetFullPath(path);
    path = SVNEncodingUtil.uriEncode(path);
    DAVConnection connection = getConnection();
    return connection.doGetLock(path, this);
  } finally {
    closeConnection();
  }
}
origin: org.tmatesoft/svn

public long getLatestRevision() throws SVNException {        
  try {
    openConnection();
    String path = getLocation().getPath();
    path = SVNEncodingUtil.uriEncode(path);
    DAVBaselineInfo info = DAVUtil.getBaselineInfo(myConnection, this, path, -1, false, true, null);
    return info.revision;
  } finally {
    closeConnection();
  }
}
origin: org.jvnet.hudson.svnkit/svnkit

public SVNLock[] getLocks(String path) throws SVNException {
  try {
    openConnection();
    path = doGetFullPath(path);
    path = SVNEncodingUtil.uriEncode(path);
    DAVConnection connection = getConnection();
    return connection.doGetLocks(path);
  } finally {
    closeConnection();
  }
}
origin: org.codehaus.jtstand/jtstand-svnkit

public SVNLock[] getLocks(String path) throws SVNException {
  try {
    openConnection();
    path = doGetFullPath(path);
    path = SVNEncodingUtil.uriEncode(path);
    DAVConnection connection = getConnection();
    return connection.doGetLocks(path);
  } finally {
    closeConnection();
  }
}
origin: org.tmatesoft.svnkit/svnkit

public SVNLock getLock(String path) throws SVNException {
  try {
    openConnection();
    path = doGetFullPath(path);
    path = SVNEncodingUtil.uriEncode(path);
    DAVConnection connection = getConnection();
    return connection.doGetLock(path, this);
  } finally {
    closeConnection();
  }
}
origin: org.codehaus.jtstand/jtstand-svnkit

public SVNLock getLock(String path) throws SVNException {
  try {
    openConnection();
    path = doGetFullPath(path);
    path = SVNEncodingUtil.uriEncode(path);
    DAVConnection connection = getConnection();
    return connection.doGetLock(path, this);
  } finally {
    closeConnection();
  }
}
origin: org.codehaus.jtstand/jtstand-svnkit

public long getLatestRevision() throws SVNException {        
  try {
    openConnection();
    String path = getLocation().getPath();
    path = SVNEncodingUtil.uriEncode(path);
    DAVConnection connection = getConnection();
    DAVBaselineInfo info = DAVUtil.getBaselineInfo(connection, this, path, -1, false, true, null);
    return info.revision;
  } finally {
    closeConnection();
  }
}
origin: org.jvnet.hudson.svnkit/svnkit

public long getLatestRevision() throws SVNException {        
  try {
    openConnection();
    String path = getLocation().getPath();
    path = SVNEncodingUtil.uriEncode(path);
    DAVConnection connection = getConnection();
    DAVBaselineInfo info = DAVUtil.getBaselineInfo(connection, this, path, -1, false, true, null);
    return info.revision;
  } finally {
    closeConnection();
  }
}
origin: org.jvnet.hudson.svnkit/svnkit

protected void exchangeCapabilities() throws SVNException {
  String path = SVNEncodingUtil.uriEncode(getLocation().getPath());
  IHTTPConnection httpConnection = getConnection();
  HTTPStatus status = httpConnection.request("OPTIONS", path, null, (StringBuffer) null, 200, 0, null, null);
  if (status.getCode() == 200) {
    parseCapabilities(status);
  } else {
    SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_DAV_OPTIONS_REQ_FAILED, 
        "OPTIONS request (for capabilities) got HTTP response code {0}", 
        new Integer(status.getCode()));
    SVNErrorManager.error(err, SVNLogType.NETWORK);
  }
}

origin: org.tmatesoft/svn

public String doMakeActivity() throws SVNException {
  String locationPath = SVNEncodingUtil.uriEncode(getLocation().getPath());
  String url = getActivityCollectionURL(locationPath, false) + generateUUID();
  HTTPStatus status = myHttpConnection.request("MKACTIVITY", url, null, (StringBuffer) null, 201, 404, null, null);
  if (status.getCode() == 404) {
    url = getActivityCollectionURL(locationPath, true) + generateUUID();
    status = myHttpConnection.request("MKACTIVITY", url, null, (StringBuffer) null, 201, 0, null, null);
  }
  return url;
}
 
org.tmatesoft.svn.core.internal.utilSVNEncodingUtiluriEncode

Popular methods of SVNEncodingUtil

  • uriDecode
  • autoURIEncode
  • xmlEncodeCDATA
  • fuzzyEscape
  • isXMLSafe
  • assertURISafe
  • isASCIIControlChar
  • xmlEncodeAttr
  • createStringBuffer
  • hexValue
  • isHexDigit
  • xmlDecode
  • isHexDigit,
  • xmlDecode,
  • clearArray,
  • copyOf,
  • getBytes,
  • getChars

Popular in Java

  • Making http requests using okhttp
  • setRequestProperty (URLConnection)
  • compareTo (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now