congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
org.kie.commons.java.nio.base
Code IndexAdd Tabnine to your IDE (free)

How to use org.kie.commons.java.nio.base

Best Java code snippets using org.kie.commons.java.nio.base (Showing top 20 results out of 315)

origin: org.kie.commons/kie-nio2-model

@Override
public long size() {
  if ( lazySizeLoader != null ) {
    return lazySizeLoader.get();
  }
  return size;
}
origin: org.kie.commons/kie-nio2-model

@Override
public Path getFileName() {
  if ( getNameCount() == 0 ) {
    return null;
  }
  return getName( getNameCount() - 1 );
}
origin: org.kie.commons/kie-nio2-model

@Override
public void setTimes( final FileTime lastModifiedTime,
           final FileTime lastAccessTime,
           final FileTime createTime )
    throws IOException {
  throw new NotImplementedException();
}
origin: org.kie.commons/kie-commons-io

protected void loadDotFile( final Path path ) {
  final Properties content = new Properties();
  content.load( newInputStream( dot( path ) ) );
  if ( path instanceof AttrHolder ) {
    ( (AttrHolder) path ).getAttrStorage().loadContent( content );
  }
}
origin: org.kie.commons/kie-nio2-model

@Override
public Path getParent() {
  if ( getNameCount() <= 0 ) {
    return null;
  }
  if ( getNameCount() == 1 ) {
    return getRoot();
  }
  return newPath( fs, substring( -1, getNameCount() - 2 ), host, isRealPath, isNormalized );
}
origin: org.kie.commons/kie-nio2-model

public void clearCache() {
  file = null;
  attrsStorage.clear();
}
origin: org.kie.commons/kie-nio2-model

public static GeneralPathImpl create( final FileSystem fs,
                   final String path,
                   boolean isRealPath ) {
  return create( fs, path, isRealPath, false );
}
origin: org.kie.commons/kie-nio2-model

public void load( final InputStream in ) {
  load( in, true );
}
origin: org.kie.commons/kie-nio2-model

public static GeneralPathImpl createRoot( final FileSystem fs,
                     final String path,
                     boolean isRealPath ) {
  return new GeneralPathImpl( fs, path, true, isRealPath, true );
}
origin: org.kie.commons/kie-nio2-model

@Override
public <V extends AttributeView> V getAttrView( final String name ) {
  return attrsStorage.getAttrView( name );
}
origin: org.kie.commons/kie-nio2-model

@Override
public String toString() {
  if ( toStringFormat == null ) {
    toStringFormat = toString( false );
  }
  return toStringFormat;
}
origin: org.kie.commons/kie-nio2-model

@Override
public Properties toProperties() {
  return buildProperties( false );
}
origin: org.kie.commons/kie-nio2-model

@Override
public boolean hasNext() {
  return i < getNameCount();
}
origin: org.kie.commons/kie-nio2-model

@Override
public Map<String, Object> readAllAttributes() {
  return readAttributes( "*" );
}
origin: org.kie.commons/kie-nio2-model

@Override
public <V extends AttributeView> void addAttrView( final V view ) {
  attrsStorage.addAttrView( view );
}
origin: org.kie.commons/kie-nio2-model

public void store( final OutputStream out ) {
  store( out, true );
}
origin: org.kie.commons/kie-nio2-model

private Path emptyPath() {
  return newPath( fs, "", host, isRealPath, true );
}
origin: org.kie.commons/kie-nio2-model

@Override
protected Path newRoot( FileSystem fs,
            String substring,
            String host,
            boolean realPath ) {
  return new GeneralPathImpl( fs, substring, true, realPath, true );
}
origin: org.kie.commons/kie-nio2-model

@Override
public <V extends AttributeView> V getAttrView( final Class<V> type ) {
  return attrsStorage.getAttrView( type );
}
origin: org.kie.commons/kie-nio2-model

@Override
protected Path newPath( final FileSystem fs,
            final String substring,
            String host,
            final boolean isRealPath,
            final boolean isNormalized ) {
  return new GeneralPathImpl( fs, substring, false, isRealPath, isNormalized );
}
org.kie.commons.java.nio.base

Most used classes

  • CommentedOption
  • AbstractPath
  • VersionAttributes
  • VersionRecord
  • AttrsStorage
  • VersionAttributeView,
  • VersionHistory,
  • AttrHolder,
  • NotImplementedException,
  • AbstractPath$RootInfo,
  • ExtendedAttributeView,
  • FileTimeImpl,
  • GeneralPathImpl,
  • Properties,
  • DotFileOption,
  • AbstractBasicFileAttributeView$2,
  • AbstractBasicFileAttributeView,
  • AttrsStorageImpl,
  • BasicFileAttributesImpl
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