You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LinkResolver.java 1.1KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. Copyright (c) 2011 James Ahlborn
  3. This library is free software; you can redistribute it and/or
  4. modify it under the terms of the GNU Lesser General Public
  5. License as published by the Free Software Foundation; either
  6. version 2.1 of the License, or (at your option) any later version.
  7. This library is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  10. Lesser General Public License for more details.
  11. You should have received a copy of the GNU Lesser General Public
  12. License along with this library; if not, write to the Free Software
  13. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  14. USA
  15. */
  16. package com.healthmarketscience.jackcess;
  17. import java.io.IOException;
  18. /**
  19. * Resolver for linked databases.
  20. *
  21. * @author James Ahlborn
  22. */
  23. public interface LinkResolver
  24. {
  25. /**
  26. * Returns the appropriate Database instance for the linkeeFileName from the
  27. * given linkerDb.
  28. */
  29. public Database resolveLinkedDatabase(Database linkerDb, String linkeeFileName)
  30. throws IOException;
  31. }