@Deprecated public class StackTraceDeobfuscator extends StackTraceDeobfuscator
Modifier and Type | Field and Description |
---|---|
protected File |
symbolMapsDirectory
Deprecated.
|
Constructor and Description |
---|
StackTraceDeobfuscator(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.
|
Modifier and Type | Method and Description |
---|---|
LogRecord |
deobfuscateLogRecord(LogRecord lr,
String strongName)
Deprecated.
Best effort resymbolization of a log record's stack trace.
|
StackTraceElement[] |
deobfuscateStackTrace(StackTraceElement[] st,
String strongName)
Deprecated.
|
Throwable |
deobfuscateThrowable(Throwable old,
String strongName)
Deprecated.
|
protected InputStream |
openInputStream(String fileName)
Deprecated.
Opens a new
InputStream 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. 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
protected File symbolMapsDirectory
public StackTraceDeobfuscator(String symbolMapsDirectory)
-deploy
command line
argument.symbolMapsDirectory
- the symbolMaps
directory, with or without trailing
directory separator characterpublic StackTraceDeobfuscator(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 LogRecord deobfuscateLogRecord(LogRecord lr, String strongName)
lr
- the log record to resymbolizestrongName
- the GWT permutation strong namepublic StackTraceElement[] deobfuscateStackTrace(StackTraceElement[] st, String strongName)
public Throwable deobfuscateThrowable(Throwable old, String strongName)
@Deprecated public void setSymbolMapsDirectory(String symbolMapsDirectory)
protected InputStream openInputStream(String fileName) throws IOException
StackTraceDeobfuscator
InputStream
for a symbol or source map file.openInputStream
in class StackTraceDeobfuscator
fileName
- name of the symbol or source map fileIOException
- if an I/O error occurs while creating the input stream.Copyright © 2018. All rights reserved.