Tabnine Logo
Vfs$File.getName
Code IndexAdd Tabnine to your IDE (free)

How to use
getName
method
in
org.reflections.vfs.Vfs$File

Best Java code snippets using org.reflections.vfs.Vfs$File.getName (Showing top 13 results out of 315)

origin: ronmamo/reflections

public ClassFile getOrCreateClassObject(final Vfs.File file) {
  InputStream inputStream = null;
  try {
    inputStream = file.openInputStream();
    DataInputStream dis = new DataInputStream(new BufferedInputStream(inputStream));
    return new ClassFile(dis);
  } catch (IOException e) {
    throw new ReflectionsException("could not create class file from " + file.getName(), e);
  } finally {
    Utils.close(inputStream);
  }
}
origin: org.reflections/reflections

public ClassFile getOfCreateClassObject(final Vfs.File file) {
  InputStream inputStream = null;
  try {
    inputStream = file.openInputStream();
    DataInputStream dis = new DataInputStream(new BufferedInputStream(inputStream));
    return new ClassFile(dis);
  } catch (IOException e) {
    throw new ReflectionsException("could not create class file from " + file.getName(), e);
  } finally {
    Utils.close(inputStream);
  }
}
origin: ronmamo/reflections

@Override public Object scan(Vfs.File file, Object classObject) {
  getStore().put(file.getName(), file.getRelativePath());
  return classObject;
}
origin: org.rapidpm/rapidpm-dependencies-core-reflections

Iterable<Vfs.File> files = Vfs.findFiles(urls , packagePrefix , resourceNameFilter);
for (final Vfs.File file : files) {
 LOGGER.info("scanning VFS file : " + file.getRelativePath() + "/" + file.getName());
 InputStream inputStream = null;
 try {
origin: ai.h2o/reflections

@Override public Object scan(Vfs.File file, Object classObject) {
  getStore().put(file.getName(), file.getRelativePath());
  return classObject;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.reflections

@Override public Object scan(Vfs.File file, Object classObject) {
  getStore().put(file.getName(), file.getRelativePath());
  return classObject;
}
origin: org.rapidpm/rapidpm-dependencies-core-reflections

public ClassFile getOfCreateClassObject(final Vfs.File file) {
 InputStream inputStream = null;
 try {
  inputStream = file.openInputStream();
  DataInputStream dis = new DataInputStream(new BufferedInputStream(inputStream));
  return new ClassFile(dis);
 } catch (IOException e) {
  throw new ReflectionsException("could not create class file from " + file.getName() , e);
 } finally {
  Utils.close(inputStream);
 }
}
origin: com.webcohesion.enunciate/enunciate-core

@Override
public Object scan(Vfs.File file, Object classObject) {
 if (file.getName().endsWith(".java")) {
  getStore().put(file.getRelativePath(), file.getRelativePath());
  return classObject;
 }
 else {
  return super.scan(file, classObject);
 }
}
origin: stoicflame/enunciate

@Override
public Object scan(Vfs.File file, Object classObject) {
 if (file.getName().endsWith(".java")) {
  getStore().put(file.getRelativePath(), file.getRelativePath());
  return classObject;
 }
 else {
  return super.scan(file, classObject);
 }
}
origin: org.rapidpm/rapidpm-dependencies-core-reflections

@Override
public Object scan(Vfs.File file , Object classObject) {
 getStore().put(file.getName() , file.getRelativePath());
 return classObject;
}
origin: ai.h2o/reflections

public ClassFile getOfCreateClassObject(final Vfs.File file) {
  InputStream inputStream = null;
  try {
    inputStream = file.openInputStream();
    DataInputStream dis = new DataInputStream(new BufferedInputStream(inputStream));
    return new ClassFile(dis);
  } catch (IOException e) {
    throw new ReflectionsException("could not create class file from " + file.getName(), e);
  } finally {
    Utils.close(inputStream);
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.reflections

public ClassFile getOfCreateClassObject(final Vfs.File file) {
  InputStream inputStream = null;
  try {
    inputStream = file.openInputStream();
    DataInputStream dis = new DataInputStream(new BufferedInputStream(inputStream));
    return new ClassFile(dis);
  } catch (IOException e) {
    throw new ReflectionsException("could not create class file from " + file.getName(), e);
  } finally {
    Utils.close(inputStream);
  }
}
origin: org.reflections/reflections

@Override public Object scan(Vfs.File file, Object classObject) {
  getStore().put(file.getName(), file.getRelativePath());
  return classObject;
}
org.reflections.vfsVfs$FilegetName

Popular methods of Vfs$File

  • getRelativePath
  • openInputStream

Popular in Java

  • Making http post requests using okhttp
  • setContentView (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onCreateOptionsMenu (Activity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • 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