ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/catalina/storeconfig/JarScannerSF.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/catalina/storeconfig/JarScannerSF.java
Status
scanned
Type
file
Name
JarScannerSF.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
1704 (1.7 KB)
MD5
95bf98264086791dab3b9139e9bf2524
SHA1
3cae932af5f70356cb7081c25a6050a636db1de2
SHA256
8ffb3d596860656c519ec15c61ab5b47820085e6c05993a5d1c6f9fe6b3fc30f
SHA512

      
    
SHA1_git
daeb18d1a0fd0538167426de6e73e52c57c065aa
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
JarScannerSF.java | 1.7 KB |

/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.catalina.storeconfig; import java.io.PrintWriter; import org.apache.tomcat.JarScanFilter; import org.apache.tomcat.JarScanner; /** * Store server.xml Element JarScanner */ public class JarScannerSF extends StoreFactoryBase { /** * Store the specified JarScanner properties and children (JarScannerFilter) * <p> * {@inheritDoc} */ @Override public void storeChildren(PrintWriter aWriter, int indent, Object aJarScanner, StoreDescription parentDesc) throws Exception { if (aJarScanner instanceof JarScanner jarScanner) { // Store nested <JarScanFilter> element JarScanFilter jarScanFilter = jarScanner.getJarScanFilter(); if (jarScanFilter != null) { storeElement(aWriter, indent, jarScanFilter); } } } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
62.63
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9