Java Path Convert To pathToSelfLink()

Here you can find the source of pathToSelfLink()

Description

path To Self Link

License

Open Source License

Declaration

public static String pathToSelfLink() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String pathToSelfLink() {
        return pathToLink("self");
    }/*  w w  w .j  a  va  2 s.  c om*/

    public static String pathToLink(String relationType) {
        return String.format("_links['%s']", relationType);
    }
}

Related

  1. pathTooLong()
  2. pathToPackageName(String relativeFileName, boolean leadingDot)
  3. pathToQualifiedClassName(final String path)
  4. pathToQualifiedName(final String path)
  5. pathToResource(final String name)
  6. pathToString(double[][] p)
  7. pathToURI(String path)