Package com.google.gwt.logging.server
Class StackTraceDeobfuscator
java.lang.Object
com.google.gwt.core.server.StackTraceDeobfuscator
com.google.gwt.logging.server.StackTraceDeobfuscator
Deprecated.
Use com.google.gwt.core.server.StackTraceDeobfuscator instead.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionStackTraceDeobfuscator
(String symbolMapsDirectory) Deprecated.Creates a deobfuscator that loads symbol map files from the given directory.StackTraceDeobfuscator
(String symbolMapsDirectory, boolean lazyLoad) Deprecated.Creates a deobfuscator that loads symbol map files from the given directory. -
Method Summary
Modifier and TypeMethodDescriptiondeobfuscateLogRecord
(LogRecord lr, String strongName) Deprecated.Best effort resymbolization of a log record's stack trace.deobfuscateStackTrace
(StackTraceElement[] st, String strongName) Deprecated.deobfuscateThrowable
(Throwable old, String strongName) Deprecated.protected InputStream
openInputStream
(String fileName) Deprecated.Opens a newInputStream
for a symbol or source map file.void
setSymbolMapsDirectory
(String symbolMapsDirectory) Deprecated.The behavior of changing symbol map after construction is undefined, please provide it in construction time.Methods inherited from class com.google.gwt.core.server.StackTraceDeobfuscator
deobfuscateStackTrace, fromFileSystem, fromResource, fromUrl, getSourceMapInputStream, getSymbolMapInputStream, resymbolize, resymbolize, setLazyLoad
-
Field Details
-
symbolMapsDirectory
Deprecated.
-
-
Constructor Details
-
StackTraceDeobfuscator
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
- thesymbolMaps
directory, with or without trailing directory separator character
-
StackTraceDeobfuscator
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
- thesymbolMaps
directory, with or without trailing directory separator characterlazyLoad
- 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
Deprecated.Best effort resymbolization of a log record's stack trace.- Parameters:
lr
- the log record to resymbolizestrongName
- the GWT permutation strong name- Returns:
- the best effort resymbolized log record
-
deobfuscateStackTrace
Deprecated. -
deobfuscateThrowable
Deprecated. -
setSymbolMapsDirectory
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
Deprecated.Description copied from class:StackTraceDeobfuscator
Opens a newInputStream
for a symbol or source map file.- Specified by:
openInputStream
in classStackTraceDeobfuscator
- 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.
-