congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ArchiveUtil.classUriToJavaUri
Code IndexAdd Tabnine to your IDE (free)

How to use
classUriToJavaUri
method
in
org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil

Best Java code snippets using org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil.classUriToJavaUri (Showing top 3 results out of 315)

origin: org.eclipse/org.eclipse.jst.j2ee

  protected boolean isClassWithoutSource(File aFile) {
    String javaUri = ArchiveUtil.classUriToJavaUri(aFile.getURI());
    if (javaUri == null)
      return false;
    return !archive.containsFile(javaUri);
  }
}
origin: org.eclipse/org.eclipse.jst.j2ee.core

String convertedClassURI = classURI;
if (classURI.endsWith(".class")) //$NON-NLS-1$
  convertedClassURI = ArchiveUtil.classUriToJavaUri(aClassFile.getURI());
else 
  return null;
origin: org.eclipse/org.eclipse.jst.j2ee

protected boolean isClassWithoutSource(IArchiveResource aFile) {
  String javaUri = ArchiveUtil.classUriToJavaUri(aFile.getPath().toString());
  if (javaUri == null)
    return true;
org.eclipse.jst.j2ee.commonarchivecore.internal.utilArchiveUtilclassUriToJavaUri

Javadoc

For a given uri of a .class file, derive the uri of the .java file; takes into consideration inner classes by splitting on the first occurrence of '$'

Popular methods of ArchiveUtil

  • deriveEARRelativeURI
    Leverage the java.io.File apis to resolve things like "./xxx" and "../xxx" into uris of entries in t
  • getTokens
  • classNameToJavaUri
  • classNameToUri
  • copy
    Copy all the data from the input stream to the output stream up until the first end of file characte
  • concatUri
    Concatenates the two strings with a separator, if necessary
  • createTempDirectory
  • createTempFile
  • delete
    deletes a file from the file system; for directories, recurse the subdirectories and delete them as
  • getArchive
    For the given resource, return the owning module file; for example, retrieve the EJBJarFile that own
  • getFastSpecVersion
  • getFileNameExtension
    Return "" if there is no extension
  • getFastSpecVersion,
  • getFileNameExtension,
  • getFileNameParent,
  • getFileNameTail,
  • getJ2EE13PublicAndSystemIdFor,
  • getModuleFile,
  • getModuleFileTypeName,
  • getModuleFileUsingAltDD,
  • getOSUri

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • startActivity (Activity)
  • getExternalFilesDir (Context)
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Best IntelliJ plugins
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