Class StackTraceDeobfuscator

java.lang.Object
com.google.gwt.core.server.StackTraceDeobfuscator
com.google.gwt.logging.server.StackTraceDeobfuscator

@Deprecated public class StackTraceDeobfuscator extends StackTraceDeobfuscator
Deprecated.
Use com.google.gwt.core.server.StackTraceDeobfuscator instead.
  • Field Details

    • symbolMapsDirectory

      protected File symbolMapsDirectory
      Deprecated.
  • Constructor Details

    • StackTraceDeobfuscator

      public StackTraceDeobfuscator(String symbolMapsDirectory)
      Deprecated.
      Creates a deobfuscator that loads symbol map files from the given directory. Symbol maps are generated into the location specified by the GWT compiler -deploy command line argument.
      Parameters:
      symbolMapsDirectory - the symbolMaps directory, with or without trailing directory separator character
    • StackTraceDeobfuscator

      public StackTraceDeobfuscator(String symbolMapsDirectory, boolean lazyLoad)
      Deprecated.
      Creates a deobfuscator that loads symbol map files from the given directory. Symbol maps are generated into the location specified by the GWT compiler -deploy command line argument.
      Parameters:
      symbolMapsDirectory - the symbolMaps directory, with or without trailing directory separator character
      lazyLoad - if true, only symbols requested to be deobfuscated are cached. This provides a large memory savings at the expense of occasional extra disk reads.
  • Method Details

    • deobfuscateLogRecord

      public LogRecord deobfuscateLogRecord(LogRecord lr, String strongName)
      Deprecated.
      Best effort resymbolization of a log record's stack trace.
      Parameters:
      lr - the log record to resymbolize
      strongName - the GWT permutation strong name
      Returns:
      the best effort resymbolized log record
    • deobfuscateStackTrace

      public StackTraceElement[] deobfuscateStackTrace(StackTraceElement[] st, String strongName)
      Deprecated.
    • deobfuscateThrowable

      public Throwable deobfuscateThrowable(Throwable old, String strongName)
      Deprecated.
    • setSymbolMapsDirectory

      @Deprecated public void setSymbolMapsDirectory(String symbolMapsDirectory)
      Deprecated.
      The behavior of changing symbol map after construction is undefined, please provide it in construction time. If the directory needs to be changed after construction, a new instance of this class can be instantiated with the different one.
    • openInputStream

      protected InputStream openInputStream(String fileName) throws IOException
      Deprecated.
      Description copied from class: StackTraceDeobfuscator
      Opens a new InputStream for a symbol or source map file.
      Specified by:
      openInputStream in class StackTraceDeobfuscator
      Parameters:
      fileName - name of the symbol or source map file
      Returns:
      an input stream for reading the file (doesn't need to be buffered).
      Throws:
      IOException - if an I/O error occurs while creating the input stream.