Interface PgArchiveResolver
public interface PgArchiveResolver
A strategy for resolving PostgreSQL binaries.
- See Also:
-
ZonkyIOPostgresArchiveResolver
-
Method Summary
Modifier and TypeMethodDescriptionlocatePgArchive
(String system, String machineHardware) Returns an input stream with the postgres archive for the given systen and hardware architecture.
-
Method Details
-
locatePgArchive
Returns an input stream with the postgres archive for the given systen and hardware architecture.- Parameters:
system
- a system identification (Darwin, Linux...)machineHardware
- a machine hardware architecture (x86_64...)- Returns:
- the binary
- Throws:
IOException
- if no archive could be found.
-