|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.egit.github.core.util.UrlUtils
public abstract class UrlUtils
URL utilities
| Constructor Summary | |
|---|---|
UrlUtils()
|
|
| Method Summary | |
|---|---|
static String |
createRemoteHttpsUrl(IRepositoryIdProvider repository,
String user)
Create HTTPS URL used for repository remote configs |
static String |
createRemoteHttpsUrl(IRepositoryIdProvider repository,
String host,
String user)
Create HTTPS URL used for repository remote configs |
static String |
createRemoteReadOnlyUrl(IRepositoryIdProvider repository)
Create read-only URL used for repository remote configs |
static String |
createRemoteReadOnlyUrl(IRepositoryIdProvider repository,
String host)
Create read-only URL used for repository remote configs |
static String |
createRemoteSshUrl(IRepositoryIdProvider repository)
Create SSH URL used for repository remote configs |
static String |
createRemoteSshUrl(IRepositoryIdProvider repository,
String host)
Create SSH URL used for repository remote configs |
static String |
encode(String url)
Encode given url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UrlUtils()
| Method Detail |
|---|
public static String encode(String url)
url -
public static String createRemoteSshUrl(IRepositoryIdProvider repository)
repository -
public static String createRemoteSshUrl(IRepositoryIdProvider repository,
String host)
repository - host -
public static String createRemoteHttpsUrl(IRepositoryIdProvider repository,
String user)
repository - user -
public static String createRemoteHttpsUrl(IRepositoryIdProvider repository,
String host,
String user)
repository - host - user -
public static String createRemoteReadOnlyUrl(IRepositoryIdProvider repository)
repository -
public static String createRemoteReadOnlyUrl(IRepositoryIdProvider repository,
String host)
repository - host -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||