Tabnine Logo
IO.getPath
Code IndexAdd Tabnine to your IDE (free)

How to use
getPath
method
in
aQute.lib.io.IO

Best Java code snippets using aQute.lib.io.IO.getPath (Showing top 18 results out of 315)

origin: biz.aQute.bnd/biz.aQute.resolve

public static Path getPath(String file) {
  return getPath(work.toPath(), file);
}
origin: biz.aQute.bnd/biz.aQute.bndlib

public static Path getPath(String file) {
  return getPath(work.toPath(), file);
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle

public static Path getPath(String file) {
  return getPath(work.toPath(), file);
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.framework.extension

public static Path getPath(String file) {
  return getPath(work.toPath(), file);
}
origin: biz.aQute.bnd/biz.aQute.bnd

public static Path getPath(String file) {
  return getPath(work.toPath(), file);
}
origin: biz.aQute.bnd/biz.aQute.repository

public static Path getPath(String file) {
  return getPath(work.toPath(), file);
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle

public static Path getBasedPath(Path base, String file) throws IOException {
  base = base.normalize()
    .toAbsolutePath();
  Path child = getPath(base, file);
  if (child.startsWith(base)) {
    return child;
  }
  throw new IOException("The file " + child + " is outside of the base " + base);
}
origin: biz.aQute.bnd/biz.aQute.repository

public static Path getBasedPath(Path base, String file) throws IOException {
  base = base.normalize()
    .toAbsolutePath();
  Path child = getPath(base, file);
  if (child.startsWith(base)) {
    return child;
  }
  throw new IOException("The file " + child + " is outside of the base " + base);
}
origin: biz.aQute.bnd/biz.aQute.bndlib

public static Path getBasedPath(Path base, String file) throws IOException {
  base = base.normalize()
    .toAbsolutePath();
  Path child = getPath(base, file);
  if (child.startsWith(base)) {
    return child;
  }
  throw new IOException("The file " + child + " is outside of the base " + base);
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.framework.extension

public static Path getBasedPath(Path base, String file) throws IOException {
  base = base.normalize()
    .toAbsolutePath();
  Path child = getPath(base, file);
  if (child.startsWith(base)) {
    return child;
  }
  throw new IOException("The file " + child + " is outside of the base " + base);
}
origin: biz.aQute.bnd/biz.aQute.bnd

public static Path getBasedPath(Path base, String file) throws IOException {
  base = base.normalize()
    .toAbsolutePath();
  Path child = getPath(base, file);
  if (child.startsWith(base)) {
    return child;
  }
  throw new IOException("The file " + child + " is outside of the base " + base);
}
origin: biz.aQute.bnd/biz.aQute.resolve

public static Path getBasedPath(Path base, String file) throws IOException {
  base = base.normalize()
    .toAbsolutePath();
  Path child = getPath(base, file);
  if (child.startsWith(base)) {
    return child;
  }
  throw new IOException("The file " + child + " is outside of the base " + base);
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.framework.extension

file = file.substring(2);
if (!file.startsWith("~/")) {
  return getPath(home.toPath(), file);
return getPath(home.toPath()
  .getParent(), file);
origin: biz.aQute.bnd/biz.aQute.bndlib

file = file.substring(2);
if (!file.startsWith("~/")) {
  return getPath(home.toPath(), file);
return getPath(home.toPath()
  .getParent(), file);
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle

file = file.substring(2);
if (!file.startsWith("~/")) {
  return getPath(home.toPath(), file);
return getPath(home.toPath()
  .getParent(), file);
origin: biz.aQute.bnd/biz.aQute.bnd

file = file.substring(2);
if (!file.startsWith("~/")) {
  return getPath(home.toPath(), file);
return getPath(home.toPath()
  .getParent(), file);
origin: biz.aQute.bnd/biz.aQute.repository

file = file.substring(2);
if (!file.startsWith("~/")) {
  return getPath(home.toPath(), file);
return getPath(home.toPath()
  .getParent(), file);
origin: biz.aQute.bnd/biz.aQute.resolve

file = file.substring(2);
if (!file.startsWith("~/")) {
  return getPath(home.toPath(), file);
return getPath(home.toPath()
  .getParent(), file);
aQute.lib.ioIOgetPath

Popular methods of IO

  • copy
  • collect
  • getFile
  • deleteWithException
    Deletes the specified path. Folders are recursively deleted. Throws exception if any of the files co
  • reader
  • store
  • writer
  • delete
    Deletes the specified path. Folders are recursively deleted. If file(s) cannot be deleted, no feedba
  • read
  • rename
    Renames from to to replacing the target file if necessary.
  • isSymbolicLink
  • stream
  • isSymbolicLink,
  • stream,
  • traverse,
  • close,
  • createSymbolicLink,
  • createSymbolicLinkOrCopy,
  • createTempFile,
  • decode,
  • mkdirs,
  • normalizePath

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • onRequestPermissionsResult (Fragment)
  • startActivity (Activity)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top plugins for WebStorm
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