Codota Logo
Vfs$File.getName
Code IndexAdd Codota 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)

  • Common ways to obtain Vfs$File
private void myMethod () {
Vfs$File v =
  • Codota IconClass klass;Object receiver;(java.io.File) klass.getMethod("<changeme>").invoke(receiver)
  • Smart code suggestions by Codota
}
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.reflections/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

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: 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: 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: 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: 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: 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: ai.h2o/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: org.rapidpm/rapidpm-dependencies-core-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

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getSystemService (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JCheckBox (javax.swing)
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