Codota Logo
PathSpecWindows.<init>
Code IndexAdd Codota to your IDE (free)

How to use
de.pfabulist.kleinod.nio.PathSpecWindows
constructor

Best Java code snippets using de.pfabulist.kleinod.nio.PathSpecWindows.<init> (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: de.pfabulist.lindwurm/memoryfs

public static MemoryFSBuilder windows() {
  return new MemoryFSBuilder().
      pathSpec( new PathSpecWindows() ).
      primaryStoreName( "c:").
      attributeView( DosFileAttributeView.class );
}
origin: de.pfabulist.lindwurm/niotest

public WindowsBuilder( FSDescription descr, T t ) {
  super( descr, t );
  descr.removeTopic( Unix.class );
  PathLimits pathLimits = new PathLimits( OS.WINDOWS );
  PathSpec pathSpec = new PathSpecWindows();
  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.removeTopic( Posix.class );
  descr.removeTopic( MoveWhile.class );
  descr.removeTopic( NonCasePreserving.class );
  descr.removeTopic( FileKeyT.class );
  descr.props.put( "illegalCharacters", Arrays.asList( ':', '?', '<', '>', '*', '|', '"' ));
  descr.attributeDescriptions.put( "dos",
      attributeBuilding( DosAttributesT.class, "dos", DosFileAttributeView.class, DosFileAttributes.class ).
          addAttribute( "hidden", DosFileAttributes::isHidden ).
          addAttribute( "archive", DosFileAttributes::isArchive ).
          addAttribute( "system", DosFileAttributes::isSystem ).
          addAttribute( "readonly", DosFileAttributes::isReadOnly ).
          build() );
}
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.nioPathSpecWindows<init>

Popular methods of PathSpecWindows

  • getNormalForm

Popular in Java

  • Reading from database using SQL prepared statement
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now