| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>VFSLogFilePatternReceiver (Apache Chainsaw 2.2.0-SNAPSHOT API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="VFSLogFilePatternReceiver (Apache Chainsaw 2.2.0-SNAPSHOT API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/VFSLogFilePatternReceiver.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.log4j.chainsaw.vfs</a></div> |
| <h2 title="Class VFSLogFilePatternReceiver" class="title">Class VFSLogFilePatternReceiver</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../ChainsawReceiverSkeleton.html" title="class in org.apache.log4j.chainsaw">org.apache.log4j.chainsaw.ChainsawReceiverSkeleton</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../varia/LogFilePatternReceiver.html" title="class in org.apache.log4j.varia">org.apache.log4j.varia.LogFilePatternReceiver</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="../ChainsawReceiver.html" title="interface in org.apache.log4j.chainsaw">ChainsawReceiver</a></code>, <code><a href="../receivers/VisualReceiver.html" title="interface in org.apache.log4j.chainsaw.receivers">VisualReceiver</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">VFSLogFilePatternReceiver</span> |
| extends <a href="../../varia/LogFilePatternReceiver.html" title="class in org.apache.log4j.varia">LogFilePatternReceiver</a> |
| implements <a href="../receivers/VisualReceiver.html" title="interface in org.apache.log4j.chainsaw.receivers">VisualReceiver</a></pre> |
| <div class="block">A VFS-enabled version of org.apache.log4j.varia.LogFilePatternReceiver. |
| <p> |
| VFSLogFilePatternReceiver can parse and tail log files, converting entries into |
| LoggingEvents. If the file doesn't exist when the receiver is initialized, the |
| receiver will look for the file once every 10 seconds. |
| <p> |
| See the Chainsaw page (http://logging.apache.org/log4j/docs/chainsaw.html) for information |
| on how to set up Chainsaw with VFS. |
| <p> |
| See http://jakarta.apache.org/commons/vfs/filesystems.html for a list of VFS-supported |
| file systems and the URIs needed to access the file systems. |
| <p> |
| Because some VFS file systems allow you to provide username/password, this receiver |
| provides an optional GUI dialog for entering the username/password fields instead |
| of requiring you to hard code usernames and passwords into the URI. |
| <p> |
| If the 'promptForUserInfo' param is set to true (default is false), |
| the receiver will wait for a call to 'setContainer', and then display |
| a username/password dialog. |
| <p> |
| If you are using this receiver without a GUI, don't set promptForUserInfo |
| to true - it will block indefinitely waiting for a visual component. |
| <p> |
| If the 'promptForUserInfo' param is set to true, the fileURL should -leave out- |
| the username/password portion of the VFS-supported URI. Examples: |
| <p> |
| An sftp URI that would be used with promptForUserInfo=true: |
| sftp://192.168.1.100:22/home/thisuser/logfile.txt |
| <p> |
| An sftp URI that would be used with promptForUserInfo=false: |
| sftp://username:password@192.168.1.100:22/home/thisuser/logfile.txt |
| <p> |
| This receiver relies on java.util.regex features to perform the parsing of text in the |
| log file, however the only regular expression field explicitly supported is |
| a glob-style wildcard used to ignore fields in the log file if needed. All other |
| fields are parsed by using the supplied keywords. |
| <p> |
| <b>Features:</b><br> |
| - specify the URL of the log file to be processed<br> |
| - specify the timestamp format in the file (if one exists, using patterns from <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/SimpleDateFormat.html?is-external=true" title="class or interface in java.text" class="externalLink"><code>SimpleDateFormat</code></a>)<br> |
| - specify the pattern (logFormat) used in the log file using keywords, a wildcard character (*) and fixed text<br> |
| - 'tail' the file (allows the contents of the file to be continually read and new events processed)<br> |
| - supports the parsing of multi-line messages and exceptions |
| - to access |
| <p> |
| <b>Keywords:</b><br> |
| TIMESTAMP<br> |
| LOGGER<br> |
| LEVEL<br> |
| THREAD<br> |
| CLASS<br> |
| FILE<br> |
| LINE<br> |
| METHOD<br> |
| RELATIVETIME<br> |
| MESSAGE<br> |
| NDC<br> |
| PROP(key)<br> |
| <p> |
| Use a * to ignore portions of the log format that should be ignored |
| <p> |
| Example:<br> |
| If your file's patternlayout is this:<br> |
| <b>%d %-5p [%t] %C{2} (%F:%L) - %m%n</b> |
| <p> |
| specify this as the log format:<br> |
| <b>TIMESTAMP LEVEL [THREAD] CLASS (FILE:LINE) - MESSAGE</b> |
| <p> |
| To define a PROPERTY field, use PROP(key) |
| <p> |
| Example:<br> |
| If you used the RELATIVETIME pattern layout character in the file, |
| you can use PROP(RELATIVETIME) in the logFormat definition to assign |
| the RELATIVETIME field as a property on the event. |
| <p> |
| If your file's patternlayout is this:<br> |
| <b>%r [%t] %-5p %c %x - %m%n</b> |
| <p> |
| specify this as the log format:<br> |
| <b>PROP(RELATIVETIME) [THREAD] LEVEL LOGGER * - MESSAGE</b> |
| <p> |
| Note the * - it can be used to ignore a single word or sequence of words in the log file |
| (in order for the wildcard to ignore a sequence of words, the text being ignored must be |
| followed by some delimiter, like '-' or '[') - ndc is being ignored in this example. |
| <p> |
| Assign a filterExpression in order to only process events which match a filter. |
| If a filterExpression is not assigned, all events are processed. |
| <p> |
| <b>Limitations:</b><br> |
| - no support for the single-line version of throwable supported by patternlayout<br> |
| (this version of throwable will be included as the last line of the message)<br> |
| - the relativetime patternLayout character must be set as a property: PROP(RELATIVETIME)<br> |
| - messages should appear as the last field of the logFormat because the variability in message content<br> |
| - exceptions are converted if the exception stack trace (other than the first line of the exception)<br> |
| is stored in the log file with a tab followed by the word 'at' as the first characters in the line<br> |
| - tailing may fail if the file rolls over. |
| <p> |
| <b>Example receiver configuration settings</b> (add these as params, specifying a LogFilePatternReceiver 'plugin'):<br> |
| param: "timestampFormat" value="yyyy-MM-d HH:mm:ss,SSS"<br> |
| param: "logFormat" value="RELATIVETIME [THREAD] LEVEL LOGGER * - MESSAGE"<br> |
| param: "fileURL" value="file:///c:/events.log"<br> |
| param: "tailing" value="true" |
| param: "promptForUserInfo" value="false" |
| <p> |
| This configuration will be able to process these sample events:<br> |
| 710 [ Thread-0] DEBUG first.logger first - <test> <test2>something here</test2> <test3 blah=something/> <test4> <test5>something else</test5> </test4></test><br> |
| 880 [ Thread-2] DEBUG first.logger third - <test> <test2>something here</test2> <test3 blah=something/> <test4> <test5>something else</test5> </test4></test><br> |
| 880 [ Thread-0] INFO first.logger first - infomsg-0<br> |
| java.lang.Exception: someexception-first<br> |
| at Generator2.run(Generator2.java:102)<br></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd>Scott Deboy</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="VFSLogFilePatternReceiver.UserNamePasswordDialog.html" title="class in org.apache.log4j.chainsaw.vfs">VFSLogFilePatternReceiver.UserNamePasswordDialog</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a id="fields.inherited.from.class.org.apache.log4j.varia.LogFilePatternReceiver"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.log4j.varia.<a href="../../varia/LogFilePatternReceiver.html" title="class in org.apache.log4j.varia">LogFilePatternReceiver</a></h3> |
| <code><a href="../../varia/LogFilePatternReceiver.html#active">active</a>, <a href="../../varia/LogFilePatternReceiver.html#MISSING_FILE_RETRY_MILLIS">MISSING_FILE_RETRY_MILLIS</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="fields.inherited.from.class.org.apache.log4j.chainsaw.ChainsawReceiverSkeleton"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.log4j.chainsaw.<a href="../ChainsawReceiverSkeleton.html" title="class in org.apache.log4j.chainsaw">ChainsawReceiverSkeleton</a></h3> |
| <code><a href="../ChainsawReceiverSkeleton.html#name">name</a>, <a href="../ChainsawReceiverSkeleton.html#thresholdLevel">thresholdLevel</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">VFSLogFilePatternReceiver</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#activateOptions()">activateOptions</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Read and process the log file.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAutoReconnect()">isAutoReconnect</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Accessor</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPromptForUserInfo()">isPromptForUserInfo</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAutoReconnect(boolean)">setAutoReconnect</a></span>​(boolean autoReconnect)</code></th> |
| <td class="colLast"> |
| <div class="block">Mutator</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setContainer(java.awt.Container)">setContainer</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Container.html?is-external=true" title="class or interface in java.awt" class="externalLink">Container</a> container)</code></th> |
| <td class="colLast"> |
| <div class="block">Implementation of VisualReceiver interface - allows this receiver to provide |
| a username/password dialog.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPromptForUserInfo(boolean)">setPromptForUserInfo</a></span>​(boolean promptForUserInfo)</code></th> |
| <td class="colLast"> |
| <div class="block">If set to true, will cause the receiver to block indefinitely until 'setContainer' has been called, |
| at which point a username/password dialog will appear.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#shutdown()">shutdown</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Close the reader.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.apache.log4j.varia.LogFilePatternReceiver"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.log4j.varia.<a href="../../varia/LogFilePatternReceiver.html" title="class in org.apache.log4j.varia">LogFilePatternReceiver</a></h3> |
| <code><a href="../../varia/LogFilePatternReceiver.html#createPattern()">createPattern</a>, <a href="../../varia/LogFilePatternReceiver.html#getCustomLevelDefinitions()">getCustomLevelDefinitions</a>, <a href="../../varia/LogFilePatternReceiver.html#getFileURL()">getFileURL</a>, <a href="../../varia/LogFilePatternReceiver.html#getFilterExpression()">getFilterExpression</a>, <a href="../../varia/LogFilePatternReceiver.html#getGroup()">getGroup</a>, <a href="../../varia/LogFilePatternReceiver.html#getLogFormat()">getLogFormat</a>, <a href="../../varia/LogFilePatternReceiver.html#getPath()">getPath</a>, <a href="../../varia/LogFilePatternReceiver.html#getTimestampFormat()">getTimestampFormat</a>, <a href="../../varia/LogFilePatternReceiver.html#getWaitMillis()">getWaitMillis</a>, <a href="../../varia/LogFilePatternReceiver.html#initialize()">initialize</a>, <a href="../../varia/LogFilePatternReceiver.html#isAppendNonMatches()">isAppendNonMatches</a>, <a href="../../varia/LogFilePatternReceiver.html#isTailing()">isTailing</a>, <a href="../../varia/LogFilePatternReceiver.html#isUseCurrentThread()">isUseCurrentThread</a>, <a href="../../varia/LogFilePatternReceiver.html#process(java.io.BufferedReader)">process</a>, <a href="../../varia/LogFilePatternReceiver.html#setAppendNonMatches(boolean)">setAppendNonMatches</a>, <a href="../../varia/LogFilePatternReceiver.html#setCustomLevelDefinitions(java.lang.String)">setCustomLevelDefinitions</a>, <a href="../../varia/LogFilePatternReceiver.html#setFileURL(java.lang.String)">setFileURL</a>, <a href="../../varia/LogFilePatternReceiver.html#setFilterExpression(java.lang.String)">setFilterExpression</a>, <a href="../../varia/LogFilePatternReceiver.html#setGroup(java.lang.String)">setGroup</a>, <a href="../../varia/LogFilePatternReceiver.html#setHost(java.lang.String)">setHost</a>, <a href="../../varia/LogFilePatternReceiver.html#setLogFormat(java.lang.String)">setLogFormat</a>, <a href="../../varia/LogFilePatternReceiver.html#setPath(java.lang.String)">setPath</a>, <a href="../../varia/LogFilePatternReceiver.html#setTailing(boolean)">setTailing</a>, <a href="../../varia/LogFilePatternReceiver.html#setTimestampFormat(java.lang.String)">setTimestampFormat</a>, <a href="../../varia/LogFilePatternReceiver.html#setUseCurrentThread(boolean)">setUseCurrentThread</a>, <a href="../../varia/LogFilePatternReceiver.html#setWaitMillis(long)">setWaitMillis</a>, <a href="../../varia/LogFilePatternReceiver.html#start()">start</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.apache.log4j.chainsaw.ChainsawReceiverSkeleton"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.log4j.chainsaw.<a href="../ChainsawReceiverSkeleton.html" title="class in org.apache.log4j.chainsaw">ChainsawReceiverSkeleton</a></h3> |
| <code><a href="../ChainsawReceiverSkeleton.html#addChainsawEventBatchListener(org.apache.log4j.chainsaw.ChainsawEventBatchListener)">addChainsawEventBatchListener</a>, <a href="../ChainsawReceiverSkeleton.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</a>, <a href="../ChainsawReceiverSkeleton.html#addPropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener)">addPropertyChangeListener</a>, <a href="../ChainsawReceiverSkeleton.html#append(org.apache.log4j.chainsaw.logevents.ChainsawLoggingEvent)">append</a>, <a href="../ChainsawReceiverSkeleton.html#getName()">getName</a>, <a href="../ChainsawReceiverSkeleton.html#getPaused()">getPaused</a>, <a href="../ChainsawReceiverSkeleton.html#getQueueInterval()">getQueueInterval</a>, <a href="../ChainsawReceiverSkeleton.html#getThreshold()">getThreshold</a>, <a href="../ChainsawReceiverSkeleton.html#removeEventBatchListener(org.apache.log4j.chainsaw.ChainsawEventBatchListener)">removeEventBatchListener</a>, <a href="../ChainsawReceiverSkeleton.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</a>, <a href="../ChainsawReceiverSkeleton.html#removePropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener)">removePropertyChangeListener</a>, <a href="../ChainsawReceiverSkeleton.html#setName(java.lang.String)">setName</a>, <a href="../ChainsawReceiverSkeleton.html#setPaused(boolean)">setPaused</a>, <a href="../ChainsawReceiverSkeleton.html#setQueueInterval(int)">setQueueInterval</a>, <a href="../ChainsawReceiverSkeleton.html#setThreshold(org.apache.log4j.chainsaw.logevents.Level)">setThreshold</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>VFSLogFilePatternReceiver</h4> |
| <pre>public VFSLogFilePatternReceiver()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="shutdown()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shutdown</h4> |
| <pre class="methodSignature">public void shutdown()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../varia/LogFilePatternReceiver.html#shutdown()">LogFilePatternReceiver</a></code></span></div> |
| <div class="block">Close the reader.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../ChainsawReceiver.html#shutdown()">shutdown</a></code> in interface <code><a href="../ChainsawReceiver.html" title="interface in org.apache.log4j.chainsaw">ChainsawReceiver</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../varia/LogFilePatternReceiver.html#shutdown()">shutdown</a></code> in class <code><a href="../../varia/LogFilePatternReceiver.html" title="class in org.apache.log4j.varia">LogFilePatternReceiver</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setPromptForUserInfo(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPromptForUserInfo</h4> |
| <pre class="methodSignature">public void setPromptForUserInfo​(boolean promptForUserInfo)</pre> |
| <div class="block">If set to true, will cause the receiver to block indefinitely until 'setContainer' has been called, |
| at which point a username/password dialog will appear.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>promptForUserInfo</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isPromptForUserInfo()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isPromptForUserInfo</h4> |
| <pre class="methodSignature">public boolean isPromptForUserInfo()</pre> |
| </li> |
| </ul> |
| <a id="isAutoReconnect()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAutoReconnect</h4> |
| <pre class="methodSignature">public boolean isAutoReconnect()</pre> |
| <div class="block">Accessor</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a id="setAutoReconnect(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAutoReconnect</h4> |
| <pre class="methodSignature">public void setAutoReconnect​(boolean autoReconnect)</pre> |
| <div class="block">Mutator</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>autoReconnect</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setContainer(java.awt.Container)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setContainer</h4> |
| <pre class="methodSignature">public void setContainer​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Container.html?is-external=true" title="class or interface in java.awt" class="externalLink">Container</a> container)</pre> |
| <div class="block">Implementation of VisualReceiver interface - allows this receiver to provide |
| a username/password dialog.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../receivers/VisualReceiver.html#setContainer(java.awt.Container)">setContainer</a></code> in interface <code><a href="../receivers/VisualReceiver.html" title="interface in org.apache.log4j.chainsaw.receivers">VisualReceiver</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="activateOptions()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>activateOptions</h4> |
| <pre class="methodSignature">public void activateOptions()</pre> |
| <div class="block">Read and process the log file.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/VFSLogFilePatternReceiver.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small><p align="center">Copyright © 2002-2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.<br /> Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></small></p> |
| </footer> |
| </body> |
| </html> |