Tabnine Logo
PathSpecOSX
Code IndexAdd Tabnine to your IDE (free)

How to use
PathSpecOSX
in
de.pfabulist.kleinod.nio

Best Java code snippets using de.pfabulist.kleinod.nio.PathSpecOSX (Showing top 3 results out of 315)

origin: de.pfabulist.lindwurm/niotest

public UnixBuilder<T> hfsPlus() {
  PathLimits pathLimits = new PathLimits( OS.OSX );
  PathSpec pathSpec = new PathSpecOSX();
  descr.props.put( Tests10PathWithContent.ONE_CHAR_COUNT, pathLimits.getBigChar() );
  descr.props.put( Tests10PathWithContent.MAX_FILENAME_LENGTH, pathSpec.getMaxFilenameLength() );
  descr.props.put( Tests10PathWithContent.MAX_PATH_LENGTH, pathSpec.getMaxPathLength() );
  descr.props.put( Tests10PathWithContent.GET_FILENAME_LENGTH, (Function<String,Integer>)pathSpec::getFilenameLength );
  descr.props.put( Tests10PathWithContent.GET_PATH_LENGTH, (Function<String,Integer>)pathSpec::getPathLength );
  descr.addTopic( CaseInsensitive.class );
  descr.removeTopic( NotOSX.class );
  // todo : is seperator (in a way)
  return this;
}
origin: de.pfabulist.lindwurm/memoryfs

public static MemoryFSBuilder osx() {
  return new MemoryFSBuilder().
      pathSpec( new PathSpecOSX()).
      attributeView( PosixFileAttributeView.class );
}
origin: de.pfabulist.kleinod/kleinod-nio

static PathSpec byOS( OS os ) {
  if ( os.isWindows() ) {
    return new PathSpecWindows();
  }
  if ( os.isOSX() ) {
    return new PathSpecOSX();
  }
  if ( os.isUnix() ) {
    return new PathSpecUnix();
  }
  return new PathSpecDefault();
}
de.pfabulist.kleinod.nioPathSpecOSX

Javadoc

Copyright (c) 2006 - 2016, Stephan Pfab SPDX-License-Identifier: BSD-2-Clause

Most used methods

  • <init>

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • getContentResolver (Context)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • 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