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
PgBinaryResolvergetPgBinary in interface PgBinaryResolversystem - a system identification (Darwin, Linux...)machineHardware - a machine hardware architecture (x86_64...)IOExceptionCopyright © 2019. All rights reserved.