All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.util.FileLookup Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.util;

import java.io.InputStream;

/**
 * This class is still used by the Hibernate Search integration:
 * will be removed soon.
 *
 * @deprecated Use the new org.infinispan.commons.util.FileLookup
 * @see org.infinispan.commons.util.FileLookup
 */
@Deprecated
public final class FileLookup {

   private final org.infinispan.commons.util.FileLookup fileLookup;

   FileLookup(org.infinispan.commons.util.FileLookup fileLookup) {
      this.fileLookup = fileLookup;
   }

   public InputStream lookupFile(String filename, ClassLoader cl) {
      return fileLookup.lookupFile(filename, cl);
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy