1. /*
  2. * @(#)FileNameMap.java 1.9 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.net;
  8. /**
  9. * A simple interface which provides a mechanism to map between
  10. * between a file name and a MIME type string.
  11. *
  12. * @version 1.9, 11/29/01
  13. * @author Steven B. Byrne
  14. * @since JDK1.1
  15. */
  16. public interface FileNameMap {
  17. /**
  18. */
  19. public String getContentTypeFor(String fileName);
  20. }