public class DefaultPostgresBinaryResolver extends Object implements PgBinaryResolver
Modifier and Type | Field and Description |
---|---|
static DefaultPostgresBinaryResolver |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
InputStream |
getPgBinary(String system,
String machineHardware)
Returns an input stream with the postgress binary for the given
systen and hardware architecture.
|
public static final DefaultPostgresBinaryResolver INSTANCE
public InputStream getPgBinary(String system, String machineHardware) throws IOException
PgBinaryResolver
getPgBinary
in interface PgBinaryResolver
system
- a system identification (Darwin, Linux...)machineHardware
- a machine hardware architecture (x86_64...)IOException
Copyright © 2018. All rights reserved.