@Deprecated public class StackTraceDeobfuscator extends StackTraceDeobfuscator
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
symbolMapsDirectory
Deprecated.
|
Constructor and Description |
---|
StackTraceDeobfuscator(java.lang.String symbolMapsDirectory)
Deprecated.
Creates a deobfuscator that loads symbol map files from the given directory.
|
StackTraceDeobfuscator(java.lang.String symbolMapsDirectory,
boolean lazyLoad)
Deprecated.
Creates a deobfuscator that loads symbol map files from the given directory.
|
Modifier and Type | Method and Description |
---|---|
java.util.logging.LogRecord |
deobfuscateLogRecord(java.util.logging.LogRecord lr,
java.lang.String strongName)
Deprecated.
Best effort resymbolization of a log record's stack trace.
|
java.lang.StackTraceElement[] |
deobfuscateStackTrace(java.lang.StackTraceElement[] st,
java.lang.String strongName)
Deprecated.
|
java.lang.Throwable |
deobfuscateThrowable(java.lang.Throwable old,
java.lang.String strongName)
Deprecated.
|
protected java.io.InputStream |
openInputStream(java.lang.String fileName)
Deprecated.
Opens a new
InputStream for a symbol or source map file. |
void |
setSymbolMapsDirectory(java.lang.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.
|
deobfuscateStackTrace, fromFileSystem, fromResource, fromUrl, getSourceMapInputStream, getSymbolMapInputStream, resymbolize, resymbolize, setLazyLoad
public StackTraceDeobfuscator(java.lang.String symbolMapsDirectory)
-deploy
command line
argument.symbolMapsDirectory
- the symbolMaps
directory, with or without trailing
directory separator characterpublic StackTraceDeobfuscator(java.lang.String symbolMapsDirectory, boolean lazyLoad)
-deploy
command line
argument.symbolMapsDirectory
- the symbolMaps
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.public java.util.logging.LogRecord deobfuscateLogRecord(java.util.logging.LogRecord lr, java.lang.String strongName)
lr
- the log record to resymbolizestrongName
- the GWT permutation strong namepublic java.lang.StackTraceElement[] deobfuscateStackTrace(java.lang.StackTraceElement[] st, java.lang.String strongName)
public java.lang.Throwable deobfuscateThrowable(java.lang.Throwable old, java.lang.String strongName)
@Deprecated public void setSymbolMapsDirectory(java.lang.String symbolMapsDirectory)
protected java.io.InputStream openInputStream(java.lang.String fileName) throws java.io.IOException
StackTraceDeobfuscator
InputStream
for a symbol or source map file.openInputStream
in class StackTraceDeobfuscator
fileName
- name of the symbol or source map filejava.io.IOException
- if an I/O error occurs while creating the input stream.