congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
IManifoldHost.getFileSystem
Code IndexAdd Tabnine to your IDE (free)

How to use
getFileSystem
method
in
manifold.api.host.IManifoldHost

Best Java code snippets using manifold.api.host.IManifoldHost.getFileSystem (Showing top 7 results out of 315)

origin: manifold-systems/manifold

default IFileSystem getFileSystem()
{
 return getHost().getFileSystem();
}
origin: manifold-systems/manifold

protected IDirectory getIResourceFromJavaFile( URL location )
{
 return getHost().getFileSystem().getIDirectory( getFileFromURL( location ) );
}
origin: manifold-systems/manifold

IFile getIResourceFromJavaFile( URL location )
{
 return getHost().getFileSystem().getIFile( getFileFromURL( location ) );
}
origin: manifold-systems/manifold

private String getTypeForFile( JavaFileObject file )
{
 URI uri = file.toUri();
 if( !uri.getScheme().equalsIgnoreCase( "file" ) )
 {
  return makeTypeName( file.getName() );
 }
 IFile iFile = getHost().getFileSystem().getIFile( new File( file.getName() ) );
 List<IDirectory> sourcePath = getHost().getSingleModule().getSourcePath();
 for( IDirectory dir : sourcePath )
 {
  if( iFile.isDescendantOf( dir ) )
  {
   return makeTypeName( iFile.getName().substring( dir.getName().length() ) );
  }
 }
 throw new IllegalStateException( "Could not infer type name from: " + file.getName() );
}
origin: manifold-systems/manifold

Set<IFile> changes = changedFiles.stream().map( ( File f ) -> host.getFileSystem().getIFile( f ) )
 .collect( Collectors.toSet() );
for( ITypeManifold tm: host.getSingleModule().getTypeManifolds() )
origin: systems.manifold/manifold-ext

Set<IFile> changes = changedFiles.stream().map( ( File f ) -> host.getFileSystem().getIFile( f ) )
 .collect( Collectors.toSet() );
for( ITypeManifold tm: host.getSingleModule().getTypeManifolds() )
origin: manifold-systems/manifold

IFile file = _host.getFileSystem().getIFile( url );
input = file.openInputStream();
manifold.api.hostIManifoldHostgetFileSystem

Popular methods of IManifoldHost

  • getJavaParser
  • getSingleModule
  • addTypeSystemListenerAsWeakRef
  • getActualClassLoader
  • isPathIgnored

Popular in Java

  • Making http post requests using okhttp
  • findViewById (Activity)
  • putExtra (Intent)
  • getSystemService (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now